Enum editor2::display_map::TransformBlock
source · pub enum TransformBlock {
Custom(Arc<Block>),
ExcerptHeader {
id: ExcerptId,
buffer: BufferSnapshot,
range: ExcerptRange<Anchor>,
height: u8,
starts_new_buffer: bool,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for TransformBlock
impl Clone for TransformBlock
source§fn clone(&self) -> TransformBlock
fn clone(&self) -> TransformBlock
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for TransformBlock
impl !Send for TransformBlock
impl !Sync for TransformBlock
impl Unpin for TransformBlock
impl !UnwindSafe for TransformBlock
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