Trait avrox_display::gfx::dynamic::OptionalDisplayAs

source ·
pub trait OptionalDisplayAs<X> {
    // Required methods
    fn is_displayed(&self) -> bool;
    fn display_value(&self) -> X;
    fn is_mutable(&self) -> bool;
}

Required Methods§

source

fn is_displayed(&self) -> bool

source

fn display_value(&self) -> X

source

fn is_mutable(&self) -> bool

True if this value is mutable (i.e. can change underneath us :-).)

Implementations on Foreign Types§

source§

impl<X, Y> OptionalDisplayAs<X> for Option<Y>
where X: Default, Y: DisplayAs<X>,

source§

impl<X, Y> OptionalDisplayAs<Y> for &RefCell<X>
where X: OptionalDisplayAs<Y>,

Implementors§