pub struct ChannelFloat32Seq<const N: usize> { /* private fields */ }Expand description
Sequence of ChannelFloat32.
N is the maximum number of elements.
If N is 0, the size is unlimited.
Implementations§
Source§impl<const N: usize> ChannelFloat32Seq<N>
impl<const N: usize> ChannelFloat32Seq<N>
Sourcepub fn new(size: usize) -> Option<Self>
pub fn new(size: usize) -> Option<Self>
Create a sequence of.
N represents the maximum number of elements.
If N is 0, the sequence is unlimited.
pub fn null() -> Self
pub fn as_slice(&self) -> &[ChannelFloat32]
pub fn as_slice_mut(&mut self) -> &mut [ChannelFloat32]
pub fn iter(&self) -> Iter<'_, ChannelFloat32>
pub fn iter_mut(&mut self) -> IterMut<'_, ChannelFloat32>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl<const N: usize> Debug for ChannelFloat32Seq<N>
impl<const N: usize> Debug for ChannelFloat32Seq<N>
Source§impl<const N: usize> Drop for ChannelFloat32Seq<N>
impl<const N: usize> Drop for ChannelFloat32Seq<N>
Source§impl<const N: usize> PartialEq for ChannelFloat32Seq<N>
impl<const N: usize> PartialEq for ChannelFloat32Seq<N>
impl<const N: usize> Send for ChannelFloat32Seq<N>
impl<const N: usize> Sync for ChannelFloat32Seq<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for ChannelFloat32Seq<N>
impl<const N: usize> RefUnwindSafe for ChannelFloat32Seq<N>
impl<const N: usize> Unpin for ChannelFloat32Seq<N>
impl<const N: usize> UnwindSafe for ChannelFloat32Seq<N>
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