pub struct NodeControlOption {
pub value: Value,
pub label: String,
pub icon_key: Option<String>,
pub disabled: bool,
}Expand description
Inline selectable value for select-like controls.
Fields§
§value: Value§label: String§icon_key: Option<String>§disabled: boolImplementations§
Trait Implementations§
Source§impl Clone for NodeControlOption
impl Clone for NodeControlOption
Source§fn clone(&self) -> NodeControlOption
fn clone(&self) -> NodeControlOption
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 NodeControlOption
impl Debug for NodeControlOption
Source§impl<'de> Deserialize<'de> for NodeControlOption
impl<'de> Deserialize<'de> for NodeControlOption
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 NodeControlOption
impl PartialEq for NodeControlOption
Source§fn eq(&self, other: &NodeControlOption) -> bool
fn eq(&self, other: &NodeControlOption) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeControlOption
impl Serialize for NodeControlOption
impl StructuralPartialEq for NodeControlOption
Auto Trait Implementations§
impl Freeze for NodeControlOption
impl RefUnwindSafe for NodeControlOption
impl Send for NodeControlOption
impl Sync for NodeControlOption
impl Unpin for NodeControlOption
impl UnsafeUnpin for NodeControlOption
impl UnwindSafe for NodeControlOption
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