Trait guion::widgets::util::caption::Caption[][src]

pub trait Caption<E> {
    fn caption<'s>(&'s self) -> Cow<'s, str>;

    fn len(&self) -> usize { ... }
}

Required methods

fn caption<'s>(&'s self) -> Cow<'s, str>[src]

Loading content...

Provided methods

fn len(&self) -> usize[src]

Loading content...

Trait Implementations

impl<'w, E> Traitcast<dyn Caption<E> + 'w, E> for dyn Widget<E> + 'w where
    E: Env
[src]

type DestTypeID = dyn Caption<E> + 'static

impl<'w, E> TraitcastMut<dyn Caption<E> + 'w, E> for dyn WidgetMut<E> + 'w where
    E: Env
[src]

type DestTypeID = dyn Caption<E> + 'static

Implementations on Foreign Types

impl<E> Caption<E> for str[src]

impl<E> Caption<E> for String[src]

impl<E> Caption<E> for Path[src]

impl<E> Caption<E> for PathBuf[src]

impl<E> Caption<E> for OsStr[src]

impl<E> Caption<E> for OsString[src]

impl<E, T: ?Sized> Caption<E> for &T where
    T: Caption<E>, 
[src]

impl<'l, E, T: ?Sized> Caption<E> for &mut T where
    T: Caption<E>, 
[src]

impl<E> Caption<E> for bool[src]

impl<E> Caption<E> for char[src]

impl<E> Caption<E> for f32[src]

impl<E> Caption<E> for f64[src]

impl<E> Caption<E> for i8[src]

impl<E> Caption<E> for i16[src]

impl<E> Caption<E> for i32[src]

impl<E> Caption<E> for i64[src]

impl<E> Caption<E> for i128[src]

impl<E> Caption<E> for isize[src]

impl<E> Caption<E> for u8[src]

impl<E> Caption<E> for u16[src]

impl<E> Caption<E> for u32[src]

impl<E> Caption<E> for u64[src]

impl<E> Caption<E> for u128[src]

impl<E> Caption<E> for usize[src]

Loading content...

Implementors

impl<'w, 'a, E, T, U, F> Caption<E> for SMA<'a, T, U, F> where
    E: Env,
    U: Caption<E> + 'w,
    F: SMALens<T, U>, 
[src]

impl<E, T> Caption<E> for Validated<E, T> where
    T: Caption<E>, 
[src]

Loading content...