[][src]Struct lv2rs_atom::object::ObjectHeader

#[repr(C)]
pub struct ObjectHeader { pub id: URID, pub otype: URID, }

Header of an object.

The important field is otype, which contains the URID of the class this object is an instance of. However, the id is only described as "URID, or 0 for blank" by the standard and therefore should be set to zero.

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

Fields

id: URIDotype: URID

Trait Implementations

impl ArrayAtomHeader for ObjectHeader[src]

type InitializationParameter = (URID, URID)

Type of the parameter for initialize.

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]