Trait avrox_display::gfx::dynamic::DisplayAs

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

Trait implemented by things that we want to be able to display values of

Required Methods§

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> DisplayAs<X> for &RefCell<X>
where X: Clone,

source§

fn display_value(&self) -> X

source§

fn is_mutable(&self) -> bool

Implementors§

source§

impl<X> DisplayAs<X> for X
where X: Clone,