[][src]Trait lv2rs_atom::object::ObjectWritingFrame

pub trait ObjectWritingFrame<'a>: WritingFrame<'a> + WritingFrameExt<'a, Object> {
    fn push_property<'b, A: AtomBody + ?Sized>(
        &'b mut self,
        key: URID,
        context: URID,
        parameter: &A::InitializationParameter,
        urids: &mut CachedMap
    ) -> Result<NestedFrame<'b, 'a, A>, ()> { ... } }

Extension for WritingFrame and WritingFrameExt for vectors.

See the module documentation for more information.

Provided methods

fn push_property<'b, A: AtomBody + ?Sized>(
    &'b mut self,
    key: URID,
    context: URID,
    parameter: &A::InitializationParameter,
    urids: &mut CachedMap
) -> Result<NestedFrame<'b, 'a, A>, ()>

Add a property to the object.

The key and the context are the same as in the PropertyHeader: The key represents the name of the property and the context's purpose is unknown and should be set to zero.

Loading content...

Implementors

impl<'a, W> ObjectWritingFrame<'a> for W where
    W: WritingFrame<'a> + WritingFrameExt<'a, Object>, 
[src]

fn push_property<'b, A: AtomBody + ?Sized>(
    &'b mut self,
    key: URID,
    context: URID,
    parameter: &A::InitializationParameter,
    urids: &mut CachedMap
) -> Result<NestedFrame<'b, 'a, A>, ()>
[src]

Loading content...