[−][src]Struct lv2_atom::vector::Vector
An atom containg an array of scalar atom bodies.
Trait Implementations
impl<'a, 'b, C: ScalarAtom> Atom<'a, 'b> for Vector<C> where
'a: 'b,
C: 'b,
[src]
'a: 'b,
C: 'b,
type ReadParameter = URID<C>
The atom-specific parameter of the read
function. Read more
type ReadHandle = &'a [C::InternalType]
The return value of the read
function. Read more
type WriteParameter = URID<C>
The atom-specific parameter of the write
function. Read more
type WriteHandle = VectorWriter<'a, 'b, C>
The return value of the write
function. Read more
fn read(body: Space<'a>, child_urid: URID<C>) -> Option<&'a [C::InternalType]>
[src]
fn init(
frame: FramedMutSpace<'a, 'b>,
child_urid: URID<C>
) -> Option<VectorWriter<'a, 'b, C>>
[src]
frame: FramedMutSpace<'a, 'b>,
child_urid: URID<C>
) -> Option<VectorWriter<'a, 'b, C>>
impl<C: ScalarAtom> UriBound for Vector<C>
[src]
Auto Trait Implementations
impl<C> RefUnwindSafe for Vector<C> where
C: RefUnwindSafe,
C: RefUnwindSafe,
impl<C> Send for Vector<C> where
C: Send,
C: Send,
impl<C> Sync for Vector<C> where
C: Sync,
C: Sync,
impl<C> Unpin for Vector<C> where
C: Unpin,
C: Unpin,
impl<C> UnwindSafe for Vector<C> where
C: UnwindSafe,
C: UnwindSafe,
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>,