Trait vizia_core::vg::Flattenable

pub trait Flattenable: Sized {
    // Required methods
    fn type_name(&self) -> &CStr;
    fn serialize(&self) -> RCHandle<SkData>;
    fn deserialize(data: &[u8]) -> Option<Self>;
}

Required Methods§

fn type_name(&self) -> &CStr

fn serialize(&self) -> RCHandle<SkData>

fn deserialize(data: &[u8]) -> Option<Self>

Object Safety§

This trait is not object safe.

Implementors§

§

impl<N> Flattenable for RCHandle<N>
where N: NativeFlattenable + NativeRefCountedBase,