pub struct OpsVec<L: Layer + ?Sized> { /* private fields */ }Implementations§
Source§impl<L> OpsVec<L>
impl<L> OpsVec<L>
pub fn new() -> Self
pub fn from_vec(v: Vec<L::Operation>) -> Self
pub fn into_vec(self) -> Vec<L::Operation>
pub fn as_slice(&self) -> &[L::Operation]
pub fn as_mut_slice(&mut self) -> &mut [L::Operation]
pub fn as_vec(&self) -> &Vec<L::Operation>
pub fn as_mut_vec(&mut self) -> &mut Vec<L::Operation>
pub fn len(&self) -> usize
pub fn iter(&self) -> impl Iterator<Item = &L::Operation>
pub fn clear(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl<L> Freeze for OpsVec<L>
impl<L> RefUnwindSafe for OpsVec<L>
impl<L> Send for OpsVec<L>
impl<L> Sync for OpsVec<L>
impl<L> Unpin for OpsVec<L>
impl<L> UnsafeUnpin for OpsVec<L>
impl<L> UnwindSafe for OpsVec<L>
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