[−][src]Struct lv2_atom::object::Blank
Alias of Object
, used by older hosts.
A blank object is an object that isn't an instance of a class. The specification recommends to use an Object
with an id of None
, but some hosts still use it and therefore, it's included in this library.
If you want to read an object, you should also support Blank
s, but if you want to write an object, you should always use Object
.
Trait Implementations
impl<'a, 'b> Atom<'a, 'b> for Blank where
'a: 'b,
[src]
'a: 'b,
type ReadParameter = <Object as Atom<'a, 'b>>::ReadParameter
The atom-specific parameter of the read
function. Read more
type ReadHandle = <Object as Atom<'a, 'b>>::ReadHandle
The return value of the read
function. Read more
type WriteParameter = <Object as Atom<'a, 'b>>::WriteParameter
The atom-specific parameter of the write
function. Read more
type WriteHandle = <Object as Atom<'a, 'b>>::WriteHandle
The return value of the write
function. Read more
fn read(
body: Space<'a>,
parameter: Self::ReadParameter
) -> Option<Self::ReadHandle>
[src]
body: Space<'a>,
parameter: Self::ReadParameter
) -> Option<Self::ReadHandle>
fn init(
frame: FramedMutSpace<'a, 'b>,
parameter: Self::WriteParameter
) -> Option<Self::WriteHandle>
[src]
frame: FramedMutSpace<'a, 'b>,
parameter: Self::WriteParameter
) -> Option<Self::WriteHandle>
impl UriBound for Blank
[src]
Auto Trait Implementations
impl RefUnwindSafe for Blank
impl Send for Blank
impl Sync for Blank
impl Unpin for Blank
impl UnwindSafe for Blank
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<'a, 'b, A> Atom<'a, 'b> for A where
'a: 'b,
A: ScalarAtom,
[src]
'a: 'b,
A: ScalarAtom,
type ReadParameter = ()
The atom-specific parameter of the read
function. Read more
type ReadHandle = <A as ScalarAtom>::InternalType
The return value of the read
function. Read more
type WriteParameter = <A as ScalarAtom>::InternalType
The atom-specific parameter of the write
function. Read more
type WriteHandle = &'a mut <A as ScalarAtom>::InternalType
The return value of the write
function. Read more
pub fn read(Space<'a>, ()) -> Option<<A as ScalarAtom>::InternalType>
[src]
pub fn init(
FramedMutSpace<'a, 'b>,
<A as ScalarAtom>::InternalType
) -> Option<&'a mut <A as ScalarAtom>::InternalType>
[src]
FramedMutSpace<'a, 'b>,
<A as ScalarAtom>::InternalType
) -> Option<&'a mut <A as ScalarAtom>::InternalType>
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,