pub enum EuvCodeBlockLineVariant {
Default,
Added,
Removed,
Highlighted,
}Expand description
The state of one line of a code block.
The reference publishes four: the plain line, the line that was added, the line that was removed and the line that is called out.
Variants§
Default
The line is an ordinary line of the snippet.
Added
The line was added by the change the snippet shows.
Removed
The line was removed by the change the snippet shows.
Highlighted
The line is called out.
Trait Implementations§
Source§impl Clone for EuvCodeBlockLineVariant
impl Clone for EuvCodeBlockLineVariant
impl Copy for EuvCodeBlockLineVariant
Source§impl Debug for EuvCodeBlockLineVariant
impl Debug for EuvCodeBlockLineVariant
Source§impl Default for EuvCodeBlockLineVariant
impl Default for EuvCodeBlockLineVariant
impl Eq for EuvCodeBlockLineVariant
Source§impl PartialEq for EuvCodeBlockLineVariant
impl PartialEq for EuvCodeBlockLineVariant
impl StructuralPartialEq for EuvCodeBlockLineVariant
Auto Trait Implementations§
impl Forget for EuvCodeBlockLineVariant
impl Freeze for EuvCodeBlockLineVariant
impl Move for EuvCodeBlockLineVariant
impl RefUnwindSafe for EuvCodeBlockLineVariant
impl Send for EuvCodeBlockLineVariant
impl Sync for EuvCodeBlockLineVariant
impl Unpin for EuvCodeBlockLineVariant
impl UnsafeUnpin for EuvCodeBlockLineVariant
impl UnwindSafe for EuvCodeBlockLineVariant
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