pub struct ConversationFold {
pub start_line: u32,
pub end_line: u32,
pub identity: u64,
pub kind: ConversationFoldKind,
}Expand description
TCF: one foldable region in the projected transcript, produced by
project_conversation. start_line is the fold head (stays visible when
closed); start_line + 1 ..= end_line are the rows that hide. identity
carries closed-state across streaming recomputes.
Fields§
§start_line: u32§end_line: u32§identity: u64§kind: ConversationFoldKindTrait Implementations§
Source§impl Clone for ConversationFold
impl Clone for ConversationFold
Source§fn clone(&self) -> ConversationFold
fn clone(&self) -> ConversationFold
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConversationFold
impl Debug for ConversationFold
impl Eq for ConversationFold
Source§impl PartialEq for ConversationFold
impl PartialEq for ConversationFold
impl StructuralPartialEq for ConversationFold
Auto Trait Implementations§
impl Freeze for ConversationFold
impl RefUnwindSafe for ConversationFold
impl Send for ConversationFold
impl Sync for ConversationFold
impl Unpin for ConversationFold
impl UnsafeUnpin for ConversationFold
impl UnwindSafe for ConversationFold
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.