pub struct LinearStateRef {
pub id: String,
pub name: String,
pub state_type: String,
pub color: String,
}Fields§
§id: String§name: String§state_type: String§color: StringTrait Implementations§
Source§impl Clone for LinearStateRef
impl Clone for LinearStateRef
Source§fn clone(&self) -> LinearStateRef
fn clone(&self) -> LinearStateRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LinearStateRef
impl Debug for LinearStateRef
Source§impl Default for LinearStateRef
impl Default for LinearStateRef
Source§fn default() -> LinearStateRef
fn default() -> LinearStateRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinearStateRef
impl<'de> Deserialize<'de> for LinearStateRef
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
Auto Trait Implementations§
impl Freeze for LinearStateRef
impl RefUnwindSafe for LinearStateRef
impl Send for LinearStateRef
impl Sync for LinearStateRef
impl Unpin for LinearStateRef
impl UnsafeUnpin for LinearStateRef
impl UnwindSafe for LinearStateRef
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