pub struct Vector<C: ScalarAtom> { /* private fields */ }
Expand description
An atom containg an array of scalar atom bodies.
Trait Implementations§
Source§impl<'a, 'b, C> Atom<'a, 'b> for Vector<C>where
C: 'b + ScalarAtom,
'a: 'b,
impl<'a, 'b, C> Atom<'a, 'b> for Vector<C>where
C: 'b + ScalarAtom,
'a: 'b,
Source§type ReadParameter = URID<C>
type ReadParameter = URID<C>
The atom-specific parameter of the
read
function. Read moreSource§type ReadHandle = &'a [<C as ScalarAtom>::InternalType]
type ReadHandle = &'a [<C as ScalarAtom>::InternalType]
The return value of the
read
function. Read moreSource§type WriteParameter = URID<C>
type WriteParameter = URID<C>
The atom-specific parameter of the
write
function. Read moreSource§type WriteHandle = VectorWriter<'a, 'b, C>
type WriteHandle = VectorWriter<'a, 'b, C>
The return value of the
write
function. Read moreSource§fn read(body: Space<'a>, child_urid: URID<C>) -> Option<&'a [C::InternalType]>
fn read(body: Space<'a>, child_urid: URID<C>) -> Option<&'a [C::InternalType]>
Read the body of the atom. Read more
Source§fn init(
frame: FramedMutSpace<'a, 'b>,
child_urid: URID<C>,
) -> Option<VectorWriter<'a, 'b, C>>
fn init( frame: FramedMutSpace<'a, 'b>, child_urid: URID<C>, ) -> Option<VectorWriter<'a, 'b, C>>
Initialize the body of the atom. Read more
Auto Trait Implementations§
impl<C> Freeze for Vector<C>
impl<C> RefUnwindSafe for Vector<C>where
C: RefUnwindSafe,
impl<C> Send for Vector<C>where
C: Send,
impl<C> Sync for Vector<C>where
C: Sync,
impl<C> Unpin for Vector<C>where
C: Unpin,
impl<C> UnwindSafe for Vector<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more