Struct faer_core::constrained::permutation::PermutationRef
source · pub struct PermutationRef<'n, 'a, I, E: Entity>(/* private fields */);Implementations§
source§impl<'n, 'a, I: Index, E: Entity> PermutationRef<'n, 'a, I, E>
impl<'n, 'a, I: Index, E: Entity> PermutationRef<'n, 'a, I, E>
pub fn new(perm: PermutationRef<'a, I, E>, size: Size<'n>) -> Self
pub fn inverse(self) -> PermutationRef<'n, 'a, I, E>
pub fn into_arrays( self ) -> (&'a Array<'n, Idx<'n, I>>, &'a Array<'n, Idx<'n, I>>)
pub fn into_inner(self) -> PermutationRef<'a, I, E>
pub fn len(&self) -> Size<'n>
pub fn cast<T: Entity>(self) -> PermutationRef<'n, 'a, I, T>
Trait Implementations§
source§impl<I, E: Entity> Clone for PermutationRef<'_, '_, I, E>
impl<I, E: Entity> Clone for PermutationRef<'_, '_, I, E>
impl<I, E: Entity> Copy for PermutationRef<'_, '_, I, E>
Auto Trait Implementations§
impl<'n, 'a, I, E> RefUnwindSafe for PermutationRef<'n, 'a, I, E>where E: RefUnwindSafe, I: RefUnwindSafe,
impl<'n, 'a, I, E> Send for PermutationRef<'n, 'a, I, E>where I: Sync,
impl<'n, 'a, I, E> Sync for PermutationRef<'n, 'a, I, E>where I: Sync,
impl<'n, 'a, I, E> Unpin for PermutationRef<'n, 'a, I, E>where E: Unpin,
impl<'n, 'a, I, E> UnwindSafe for PermutationRef<'n, 'a, I, E>where E: UnwindSafe, I: RefUnwindSafe,
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