pub enum BlockElement<'a> {
Line {
is_inlay: bool,
line: Line<'a>,
},
Widget(BlockWidget),
}
Variants§
Trait Implementations§
Source§impl<'a> Clone for BlockElement<'a>
impl<'a> Clone for BlockElement<'a>
Source§fn clone(&self) -> BlockElement<'a>
fn clone(&self) -> BlockElement<'a>
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 moreSource§impl<'a> Debug for BlockElement<'a>
impl<'a> Debug for BlockElement<'a>
Source§impl<'a> PartialEq for BlockElement<'a>
impl<'a> PartialEq for BlockElement<'a>
impl<'a> Copy for BlockElement<'a>
impl<'a> StructuralPartialEq for BlockElement<'a>
Auto Trait Implementations§
impl<'a> Freeze for BlockElement<'a>
impl<'a> RefUnwindSafe for BlockElement<'a>
impl<'a> Send for BlockElement<'a>
impl<'a> Sync for BlockElement<'a>
impl<'a> Unpin for BlockElement<'a>
impl<'a> UnwindSafe for BlockElement<'a>
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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