Struct heron::rapier_plugin::rapier::parry::na::Dynamic [−][src]
pub struct Dynamic { /* fields omitted */ }
Dim of dynamically-sized algebraic entities.
Implementations
impl Dynamic
[src]
Trait Implementations
impl Add<usize> for Dynamic
[src]
type Output = Dynamic
The resulting type after applying the +
operator.
pub fn add(self, rhs: usize) -> Dynamic
[src]
impl<T, C> Allocator<T, Dynamic, C> for DefaultAllocator where
C: Dim,
T: Scalar,
[src]
C: Dim,
T: Scalar,
type Buffer = VecStorage<T, Dynamic, C>
The type of buffer this allocator can instanciate.
pub unsafe fn allocate_uninitialized(
nrows: Dynamic,
ncols: C
) -> MaybeUninit<<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer>
[src]
nrows: Dynamic,
ncols: C
) -> MaybeUninit<<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer>
pub fn allocate_from_iterator<I>(
nrows: Dynamic,
ncols: C,
iter: I
) -> <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer where
I: IntoIterator<Item = T>,
[src]
nrows: Dynamic,
ncols: C,
iter: I
) -> <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer where
I: IntoIterator<Item = T>,
impl<T, R> Allocator<T, R, Dynamic> for DefaultAllocator where
T: Scalar,
R: DimName,
[src]
T: Scalar,
R: DimName,
type Buffer = VecStorage<T, R, Dynamic>
The type of buffer this allocator can instanciate.
pub unsafe fn allocate_uninitialized(
nrows: R,
ncols: Dynamic
) -> MaybeUninit<<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer>
[src]
nrows: R,
ncols: Dynamic
) -> MaybeUninit<<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer>
pub fn allocate_from_iterator<I>(
nrows: R,
ncols: Dynamic,
iter: I
) -> <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer where
I: IntoIterator<Item = T>,
[src]
nrows: R,
ncols: Dynamic,
iter: I
) -> <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer where
I: IntoIterator<Item = T>,
impl Clone for Dynamic
[src]
impl<T, C> ContiguousStorage<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
[src]
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
impl<T, R> ContiguousStorage<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
[src]
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
impl<T, C> ContiguousStorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
[src]
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
impl<T, R> ContiguousStorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
[src]
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
impl Copy for Dynamic
[src]
impl Debug for Dynamic
[src]
impl Dim for Dynamic
[src]
pub fn try_to_usize() -> Option<usize>
[src]
pub fn from_usize(dim: usize) -> Dynamic
[src]
pub fn value(&self) -> usize
[src]
pub fn is<D>() -> bool where
D: Dim,
[src]
D: Dim,
impl<D> DimAdd<D> for Dynamic where
D: Dim,
[src]
D: Dim,
impl<D> DimAdd<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimDiv<D> for Dynamic where
D: Dim,
[src]
D: Dim,
impl<D> DimDiv<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimEq<D, Dynamic> for ShapeConstraint where
D: DimName,
[src]
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl<D> DimEq<Dynamic, D> for ShapeConstraint where
D: DimName,
[src]
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl<D> DimMax<D> for Dynamic where
D: Dim,
[src]
D: Dim,
impl<D> DimMax<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimMin<D> for Dynamic where
D: Dim,
[src]
D: Dim,
impl<D> DimMin<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimMul<D> for Dynamic where
D: Dim,
[src]
D: Dim,
impl<D> DimMul<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimSub<D> for Dynamic where
D: Dim,
[src]
D: Dim,
impl<D> DimSub<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl Eq for Dynamic
[src]
impl IsDynamic for Dynamic
[src]
impl IsNotStaticOne for Dynamic
[src]
impl PartialEq<Dynamic> for Dynamic
[src]
impl<T, CTo, const RFROM: usize, const CFROM: usize> Reallocator<T, Const<RFROM>, Const<CFROM>, Dynamic, CTo> for DefaultAllocator where
T: Scalar,
CTo: Dim,
[src]
T: Scalar,
CTo: Dim,
pub unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: ArrayStorage<T, RFROM, CFROM>
) -> VecStorage<T, Dynamic, CTo>
[src]
rto: Dynamic,
cto: CTo,
buf: ArrayStorage<T, RFROM, CFROM>
) -> VecStorage<T, Dynamic, CTo>
impl<T, RTo, const RFROM: usize, const CFROM: usize> Reallocator<T, Const<RFROM>, Const<CFROM>, RTo, Dynamic> for DefaultAllocator where
T: Scalar,
RTo: DimName,
[src]
T: Scalar,
RTo: DimName,
pub unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: ArrayStorage<T, RFROM, CFROM>
) -> VecStorage<T, RTo, Dynamic>
[src]
rto: RTo,
cto: Dynamic,
buf: ArrayStorage<T, RFROM, CFROM>
) -> VecStorage<T, RTo, Dynamic>
impl<T, CFrom, CTo> Reallocator<T, Dynamic, CFrom, Dynamic, CTo> for DefaultAllocator where
T: Scalar,
CTo: Dim,
CFrom: Dim,
[src]
T: Scalar,
CTo: Dim,
CFrom: Dim,
pub unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: VecStorage<T, Dynamic, CFrom>
) -> VecStorage<T, Dynamic, CTo>
[src]
rto: Dynamic,
cto: CTo,
buf: VecStorage<T, Dynamic, CFrom>
) -> VecStorage<T, Dynamic, CTo>
impl<T, CFrom, RTo> Reallocator<T, Dynamic, CFrom, RTo, Dynamic> for DefaultAllocator where
T: Scalar,
RTo: DimName,
CFrom: Dim,
[src]
T: Scalar,
RTo: DimName,
CFrom: Dim,
pub unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: VecStorage<T, Dynamic, CFrom>
) -> VecStorage<T, RTo, Dynamic>
[src]
rto: RTo,
cto: Dynamic,
buf: VecStorage<T, Dynamic, CFrom>
) -> VecStorage<T, RTo, Dynamic>
impl<T, RFrom, CTo> Reallocator<T, RFrom, Dynamic, Dynamic, CTo> for DefaultAllocator where
T: Scalar,
CTo: Dim,
RFrom: DimName,
[src]
T: Scalar,
CTo: Dim,
RFrom: DimName,
pub unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: VecStorage<T, RFrom, Dynamic>
) -> VecStorage<T, Dynamic, CTo>
[src]
rto: Dynamic,
cto: CTo,
buf: VecStorage<T, RFrom, Dynamic>
) -> VecStorage<T, Dynamic, CTo>
impl<T, RFrom, RTo> Reallocator<T, RFrom, Dynamic, RTo, Dynamic> for DefaultAllocator where
T: Scalar,
RTo: DimName,
RFrom: DimName,
[src]
T: Scalar,
RTo: DimName,
RFrom: DimName,
pub unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: VecStorage<T, RFrom, Dynamic>
) -> VecStorage<T, RTo, Dynamic>
[src]
rto: RTo,
cto: Dynamic,
buf: VecStorage<T, RFrom, Dynamic>
) -> VecStorage<T, RTo, Dynamic>
impl<T, C1, C2> ReshapableStorage<T, Dynamic, C1, Dynamic, C2> for VecStorage<T, Dynamic, C1> where
T: Scalar,
C1: Dim,
C2: Dim,
[src]
T: Scalar,
C1: Dim,
C2: Dim,
type Output = VecStorage<T, Dynamic, C2>
The reshaped storage type.
pub fn reshape_generic(
self,
nrows: Dynamic,
ncols: C2
) -> <VecStorage<T, Dynamic, C1> as ReshapableStorage<T, Dynamic, C1, Dynamic, C2>>::Output
[src]
self,
nrows: Dynamic,
ncols: C2
) -> <VecStorage<T, Dynamic, C1> as ReshapableStorage<T, Dynamic, C1, Dynamic, C2>>::Output
impl<T, C1, R2> ReshapableStorage<T, Dynamic, C1, R2, Dynamic> for VecStorage<T, Dynamic, C1> where
T: Scalar,
R2: DimName,
C1: Dim,
[src]
T: Scalar,
R2: DimName,
C1: Dim,
type Output = VecStorage<T, R2, Dynamic>
The reshaped storage type.
pub fn reshape_generic(
self,
nrows: R2,
ncols: Dynamic
) -> <VecStorage<T, Dynamic, C1> as ReshapableStorage<T, Dynamic, C1, R2, Dynamic>>::Output
[src]
self,
nrows: R2,
ncols: Dynamic
) -> <VecStorage<T, Dynamic, C1> as ReshapableStorage<T, Dynamic, C1, R2, Dynamic>>::Output
impl<T, R1, C2> ReshapableStorage<T, R1, Dynamic, Dynamic, C2> for VecStorage<T, R1, Dynamic> where
T: Scalar,
R1: DimName,
C2: Dim,
[src]
T: Scalar,
R1: DimName,
C2: Dim,
type Output = VecStorage<T, Dynamic, C2>
The reshaped storage type.
pub fn reshape_generic(
self,
nrows: Dynamic,
ncols: C2
) -> <VecStorage<T, R1, Dynamic> as ReshapableStorage<T, R1, Dynamic, Dynamic, C2>>::Output
[src]
self,
nrows: Dynamic,
ncols: C2
) -> <VecStorage<T, R1, Dynamic> as ReshapableStorage<T, R1, Dynamic, Dynamic, C2>>::Output
impl<T, R1, R2> ReshapableStorage<T, R1, Dynamic, R2, Dynamic> for VecStorage<T, R1, Dynamic> where
T: Scalar,
R1: DimName,
R2: DimName,
[src]
T: Scalar,
R1: DimName,
R2: DimName,
type Output = VecStorage<T, R2, Dynamic>
The reshaped storage type.
pub fn reshape_generic(
self,
nrows: R2,
ncols: Dynamic
) -> <VecStorage<T, R1, Dynamic> as ReshapableStorage<T, R1, Dynamic, R2, Dynamic>>::Output
[src]
self,
nrows: R2,
ncols: Dynamic
) -> <VecStorage<T, R1, Dynamic> as ReshapableStorage<T, R1, Dynamic, R2, Dynamic>>::Output
impl<D> SameDimension<D, Dynamic> for ShapeConstraint where
D: DimName,
[src]
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl<D> SameDimension<Dynamic, D> for ShapeConstraint where
D: DimName,
[src]
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl<D> SameNumberOfColumns<D, Dynamic> for ShapeConstraint where
D: DimName,
[src]
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl<D> SameNumberOfColumns<Dynamic, D> for ShapeConstraint where
D: DimName,
[src]
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl<D> SameNumberOfRows<D, Dynamic> for ShapeConstraint where
D: DimName,
[src]
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl<D> SameNumberOfRows<Dynamic, D> for ShapeConstraint where
D: DimName,
[src]
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl<T, C> Storage<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
[src]
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
type RStride = Const<1_usize>
The static stride of this storage’s rows.
type CStride = Dynamic
The static stride of this storage’s columns.
pub fn ptr(&self) -> *const T
[src]
pub fn shape(&self) -> (Dynamic, C)
[src]
pub fn strides(
&self
) -> (<VecStorage<T, Dynamic, C> as Storage<T, Dynamic, C>>::RStride, <VecStorage<T, Dynamic, C> as Storage<T, Dynamic, C>>::CStride)
[src]
&self
) -> (<VecStorage<T, Dynamic, C> as Storage<T, Dynamic, C>>::RStride, <VecStorage<T, Dynamic, C> as Storage<T, Dynamic, C>>::CStride)
pub fn is_contiguous(&self) -> bool
[src]
pub fn into_owned(
self
) -> <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<T, Dynamic, C>,
[src]
self
) -> <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<T, Dynamic, C>,
pub fn clone_owned(
&self
) -> <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<T, Dynamic, C>,
[src]
&self
) -> <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<T, Dynamic, C>,
pub fn as_slice(&self) -> &[T]
[src]
pub fn linear_index(&self, irow: usize, icol: usize) -> usize
[src]
pub unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const T
[src]
pub unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const T
[src]
pub unsafe fn get_unchecked_linear(&self, i: usize) -> &T
[src]
pub unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &T
[src]
impl<T, R> Storage<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
[src]
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
type RStride = Const<1_usize>
The static stride of this storage’s rows.
type CStride = R
The static stride of this storage’s columns.
pub fn ptr(&self) -> *const T
[src]
pub fn shape(&self) -> (R, Dynamic)
[src]
pub fn strides(
&self
) -> (<VecStorage<T, R, Dynamic> as Storage<T, R, Dynamic>>::RStride, <VecStorage<T, R, Dynamic> as Storage<T, R, Dynamic>>::CStride)
[src]
&self
) -> (<VecStorage<T, R, Dynamic> as Storage<T, R, Dynamic>>::RStride, <VecStorage<T, R, Dynamic> as Storage<T, R, Dynamic>>::CStride)
pub fn is_contiguous(&self) -> bool
[src]
pub fn into_owned(
self
) -> <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<T, R, Dynamic>,
[src]
self
) -> <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<T, R, Dynamic>,
pub fn clone_owned(
&self
) -> <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<T, R, Dynamic>,
[src]
&self
) -> <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<T, R, Dynamic>,
pub fn as_slice(&self) -> &[T]
[src]
pub fn linear_index(&self, irow: usize, icol: usize) -> usize
[src]
pub unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const T
[src]
pub unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const T
[src]
pub unsafe fn get_unchecked_linear(&self, i: usize) -> &T
[src]
pub unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &T
[src]
impl<T, C> StorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
[src]
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
pub fn ptr_mut(&mut self) -> *mut T
[src]
pub fn as_mut_slice(&mut self) -> &mut [T]
[src]
pub unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut T
[src]
pub unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut T
[src]
&mut self,
irow: usize,
icol: usize
) -> *mut T
pub unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut T
[src]
pub unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut T
[src]
pub unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
[src]
pub unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
[src]
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
impl<T, R> StorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
[src]
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
pub fn ptr_mut(&mut self) -> *mut T
[src]
pub fn as_mut_slice(&mut self) -> &mut [T]
[src]
pub unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut T
[src]
pub unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut T
[src]
&mut self,
irow: usize,
icol: usize
) -> *mut T
pub unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut T
[src]
pub unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut T
[src]
pub unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
[src]
pub unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
[src]
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
impl StructuralEq for Dynamic
[src]
impl StructuralPartialEq for Dynamic
[src]
impl Sub<usize> for Dynamic
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dynamic
impl Send for Dynamic
impl Sync for Dynamic
impl Unpin for Dynamic
impl UnwindSafe for Dynamic
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Any + Clone,
T: Any + Clone,
impl<T> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<D> DimAdd<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimDiv<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimMax<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimMin<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimMul<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<D> DimSub<Dynamic> for D where
D: DimName,
[src]
D: DimName,
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> Downcast<T> for T
impl<T> DowncastSync for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> DynEq for T where
T: Any + Eq,
T: Any + Eq,
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn dyn_eq(&self, other: &(dyn DynEq + 'static)) -> bool
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Debug + Any,
[src]
T: Copy + PartialEq<T> + Debug + Any,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
T: 'static + Send + Sync + Clone,
pub fn clone_type_data(&self) -> Box<dyn TypeData + 'static, Global>
impl<T> Upcast<T> for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,