pub enum TextPartKind {
Text,
Code,
}Expand description
Kind of text part
Variants§
Trait Implementations§
Source§impl Clone for TextPartKind
impl Clone for TextPartKind
Source§fn clone(&self) -> TextPartKind
fn clone(&self) -> TextPartKind
Returns a duplicate 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 moreSource§impl Debug for TextPartKind
impl Debug for TextPartKind
Source§impl PartialEq for TextPartKind
impl PartialEq for TextPartKind
impl StructuralPartialEq for TextPartKind
Auto Trait Implementations§
impl Freeze for TextPartKind
impl RefUnwindSafe for TextPartKind
impl Send for TextPartKind
impl Sync for TextPartKind
impl Unpin for TextPartKind
impl UnwindSafe for TextPartKind
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