Struct faer_core::constrained::group_helpers::ArrayGroupMut
source · pub struct ArrayGroupMut<'n, 'a, E: Entity>(/* private fields */);Implementations§
source§impl<'n, 'a, E: Entity> ArrayGroupMut<'n, 'a, E>
impl<'n, 'a, E: Entity> ArrayGroupMut<'n, 'a, E>
pub fn new(slice: GroupFor<E, &'a mut [E::Unit]>, len: Size<'n>) -> Self
pub fn into_slice(self) -> GroupFor<E, &'a mut [E::Unit]>
pub fn subslice( self, range: Range<IdxInclusive<'n, usize>> ) -> GroupFor<E, &'a mut [E::Unit]>
pub fn read(&self, j: Idx<'n, usize>) -> E
pub fn write(&mut self, j: Idx<'n, usize>, value: E)
Trait Implementations§
source§impl<E: Entity> Debug for ArrayGroupMut<'_, '_, E>
impl<E: Entity> Debug for ArrayGroupMut<'_, '_, E>
source§impl<'short, 'n, 'a, E: Entity> Reborrow<'short> for ArrayGroupMut<'n, 'a, E>
impl<'short, 'n, 'a, E: Entity> Reborrow<'short> for ArrayGroupMut<'n, 'a, E>
source§impl<'short, 'n, 'a, E: Entity> ReborrowMut<'short> for ArrayGroupMut<'n, 'a, E>
impl<'short, 'n, 'a, E: Entity> ReborrowMut<'short> for ArrayGroupMut<'n, 'a, E>
Auto Trait Implementations§
impl<'n, 'a, E> RefUnwindSafe for ArrayGroupMut<'n, 'a, E>where <<E as Entity>::Group as ForType>::FaerOf<&'static mut [<E as Entity>::Unit]>: RefUnwindSafe,
impl<'n, 'a, E> Send for ArrayGroupMut<'n, 'a, E>
impl<'n, 'a, E> Sync for ArrayGroupMut<'n, 'a, E>
impl<'n, 'a, E> Unpin for ArrayGroupMut<'n, 'a, E>where <<E as Entity>::Group as ForType>::FaerOf<&'static mut [<E as Entity>::Unit]>: Unpin,
impl<'n, 'a, E> !UnwindSafe for ArrayGroupMut<'n, 'a, E>
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