pub enum DisplayItem {
Markdown(String),
Diff(String),
}Variants§
Trait Implementations§
Source§impl Clone for DisplayItem
impl Clone for DisplayItem
Source§fn clone(&self) -> DisplayItem
fn clone(&self) -> DisplayItem
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 DisplayItem
impl Debug for DisplayItem
Source§impl<'de> Deserialize<'de> for DisplayItem
impl<'de> Deserialize<'de> for DisplayItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DisplayItem
impl PartialEq for DisplayItem
Source§impl Serialize for DisplayItem
impl Serialize for DisplayItem
impl StructuralPartialEq for DisplayItem
Auto Trait Implementations§
impl Freeze for DisplayItem
impl RefUnwindSafe for DisplayItem
impl Send for DisplayItem
impl Sync for DisplayItem
impl Unpin for DisplayItem
impl UnwindSafe for DisplayItem
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