pub enum LabelUpdate {
Name(String),
Side(LabelSide),
Offset(FracVal),
Hidden(bool),
}Variants§
Trait Implementations§
Source§impl Clone for LabelUpdate
impl Clone for LabelUpdate
Source§fn clone(&self) -> LabelUpdate
fn clone(&self) -> LabelUpdate
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 LabelUpdate
impl Debug for LabelUpdate
Source§impl<'de> Deserialize<'de> for LabelUpdate
impl<'de> Deserialize<'de> for LabelUpdate
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 LabelUpdate
impl PartialEq for LabelUpdate
Source§impl Serialize for LabelUpdate
impl Serialize for LabelUpdate
impl StructuralPartialEq for LabelUpdate
Auto Trait Implementations§
impl Freeze for LabelUpdate
impl RefUnwindSafe for LabelUpdate
impl Send for LabelUpdate
impl Sync for LabelUpdate
impl Unpin for LabelUpdate
impl UnsafeUnpin for LabelUpdate
impl UnwindSafe for LabelUpdate
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