pub type WidgetDraw = Result<(), WidgetRef>;

Aliased Type§

enum WidgetDraw {
    Ok(()),
    Err(WidgetRef),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(WidgetRef)

Contains the error value

Trait Implementations§

§

impl<T, E> DeBin for Result<T, E>where T: DeBin, E: DeBin,

§

fn de_bin(o: &mut usize, d: &[u8]) -> Result<Result<T, E>, DeBinErr>

§

fn deserialize_bin(d: &[u8]) -> Result<Self, DeBinErr>

1.0.0 · source§

impl<T, E> Hash for Result<T, E>where T: Hash, E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl<T, E> SerBin for Result<T, E>where T: SerBin, E: SerBin,

§

fn ser_bin(&self, s: &mut Vec<u8, Global>)

§

fn serialize_bin(&self) -> Vec<u8, Global>

source§

impl WidgetDrawApi for WidgetDraw