[][src]Struct cvar::ReadOnlyProp

pub struct ReadOnlyProp<'a, T> { /* fields omitted */ }

Read-only property node.

Methods

impl<'a, T> ReadOnlyProp<'a, T>[src]

pub fn new(
    name: &'a str,
    desc: &'a str,
    variable: &'a T,
    default: T
) -> ReadOnlyProp<'a, T>
[src]

Trait Implementations

impl<'a, T: ToString + PartialEq> INode for ReadOnlyProp<'a, T>[src]

impl<'a, T: ToString + PartialEq> IProperty for ReadOnlyProp<'a, T>[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

impl<'a, T> Send for ReadOnlyProp<'a, T> where
    T: Send + Sync

impl<'a, T> Sync for ReadOnlyProp<'a, T> where
    T: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]