[−][src]Struct lv2rs_atom::object::ObjectHeader
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: URID
otype: URID
Trait Implementations
impl ArrayAtomHeader for ObjectHeader
[src]
type InitializationParameter = (URID, URID)
Type of the parameter for initialize
.
unsafe fn initialize<'a, W, T>(
writer: &mut W,
(id, otype): &(URID, URID),
_urids: &mut CachedMap
) -> Result<(), ()> where
T: 'static + Sized + Copy,
ArrayAtomBody<Self, T>: AtomBody,
W: WritingFrame<'a> + WritingFrameExt<'a, ArrayAtomBody<Self, T>>,
[src]
writer: &mut W,
(id, otype): &(URID, URID),
_urids: &mut CachedMap
) -> Result<(), ()> where
T: 'static + Sized + Copy,
ArrayAtomBody<Self, T>: AtomBody,
W: WritingFrame<'a> + WritingFrameExt<'a, ArrayAtomBody<Self, T>>,
Auto Trait Implementations
impl Send for ObjectHeader
impl Sync for ObjectHeader
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,