makepad_live_compiler::live_node_cbor

Trait LiveNodeSliceToCbor

Source
pub trait LiveNodeSliceToCbor {
    // Required method
    fn to_cbor(&self, parent_index: usize) -> Result<Vec<u8>, String>;
}

Required Methods§

Source

fn to_cbor(&self, parent_index: usize) -> Result<Vec<u8>, String>

Implementors§

Source§

impl<T> LiveNodeSliceToCbor for T
where T: AsRef<[LiveNode]>,