pub struct MarkdownCode { /* private fields */ }Expand description
A fenced code block in a Markdown view, as its accessory sees it. Copy, and its reads
are tracked, so a closure or an action that calls them always gets the current text, also
while the block is still streaming in.
Implementations§
Trait Implementations§
Source§impl Clone for MarkdownCode
impl Clone for MarkdownCode
Source§fn clone(&self) -> MarkdownCode
fn clone(&self) -> MarkdownCode
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 moreimpl Copy for MarkdownCode
Auto Trait Implementations§
impl !Send for MarkdownCode
impl !Sync for MarkdownCode
impl Forget for MarkdownCode
impl Freeze for MarkdownCode
impl Move for MarkdownCode
impl RefUnwindSafe for MarkdownCode
impl Unpin for MarkdownCode
impl UnsafeUnpin for MarkdownCode
impl UnwindSafe for MarkdownCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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