[][src]Struct lv2rs_atom::object::PropertyHeader

#[repr(C)]
pub struct PropertyHeader { pub key: URID, pub context: URID, }

The header of an object's property.

In original LV2, a property is a standalone atom, but since it is only useful within objects, which doesn't need the atom properties of a property, it is not an atom.

The key represents the name of the property. The context is described by the standard as "Context URID (may be, and generally is, 0)". It does not really say what it is used for, but since it says that it may be 0, you should set it to 0.

This struct is also repr(C) and is used to interpret objects from raw data.

Fields

key: URIDcontext: URID

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]