[−][src]Struct cvar::OwnedProp
Property node which owns its variable.
Fields
name: String
variable: T
default: T
Methods
impl<T> OwnedProp<T>
[src]
Trait Implementations
impl<T> INode for OwnedProp<T> where
T: FromStr + ToString + Clone + PartialEq,
T::Err: StdError + Send + Sync + 'static,
[src]
T: FromStr + ToString + Clone + PartialEq,
T::Err: StdError + Send + Sync + 'static,
fn name(&self) -> &str
[src]
fn description(&self) -> &str
[src]
fn as_node_mut(&mut self) -> NodeMut
[src]
fn as_inode_mut(&mut self) -> &mut dyn INode
[src]
impl<T> IProperty for OwnedProp<T> where
T: FromStr + ToString + Clone + PartialEq,
T::Err: StdError + Send + Sync + 'static,
[src]
T: FromStr + ToString + Clone + PartialEq,
T::Err: StdError + Send + Sync + 'static,
fn get(&self) -> String
[src]
fn set(
&mut self,
val: &str
) -> Result<(), Box<dyn StdError + Send + Sync + 'static>>
[src]
&mut self,
val: &str
) -> Result<(), Box<dyn StdError + Send + Sync + 'static>>
fn reset(&mut self)
[src]
fn default(&self) -> String
[src]
fn state(&self) -> PropState
[src]
fn flags(&self) -> u32
[src]
Returns the flags associated with the property. Read more
fn values(&self) -> Option<&[&str]>
[src]
Returns a list of valid value strings for this property. Read more
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,