Struct KalmanODProcessBuilder

Source
pub struct KalmanODProcessBuilder<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, TypedBuilderFields = ((), (), (), (), (), (), (), (), ())>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,
{ /* private fields */ }
Expand description

Builder for KalmanODProcess instances.

See KalmanODProcess::builder() for more info.

Implementations§

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, ((), __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size)>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn prop( self, prop: Propagator<D>, ) -> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, ((Propagator<D>,), __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size)>

Propagator used for the estimation

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __prop, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, (), __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size)>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn kf_variant( self, kf_variant: KalmanVariant, ) -> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, (KalmanVariant,), __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size)>

Kalman filter variant

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __prop, __kf_variant, __devices, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, (), __devices, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size)>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn resid_crit( self, resid_crit: ResidRejectCrit, ) -> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, (Option<ResidRejectCrit>,), __devices, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size)>

Residual rejection criteria allows preventing bad measurements from affecting the estimation.

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __prop, __kf_variant, __resid_crit, __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, (), __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size)>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn devices( self, devices: BTreeMap<String, Trk>, ) -> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, (BTreeMap<String, Trk>,), __process_noise, __max_step, __epoch_precision, __almanac, ___msr_size)>

Tracking devices

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __prop, __kf_variant, __resid_crit, __devices, __max_step, __epoch_precision, __almanac, ___msr_size> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, (), __max_step, __epoch_precision, __almanac, ___msr_size)>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn process_noise( self, process_noise: Vec<ProcessNoise<Accel>>, ) -> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, (Vec<ProcessNoise<Accel>>,), __max_step, __epoch_precision, __almanac, ___msr_size)>

A sets of process noise (usually noted Q), must be ordered chronologically

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __prop, __kf_variant, __resid_crit, __devices, __process_noise, __epoch_precision, __almanac, ___msr_size> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, __process_noise, (), __epoch_precision, __almanac, ___msr_size)>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn max_step( self, max_step: Duration, ) -> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, __process_noise, (Duration,), __epoch_precision, __almanac, ___msr_size)>

Maximum step size where the STM linearization is assumed correct (1 minute is usually fine)

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __prop, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __almanac, ___msr_size> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, (), __almanac, ___msr_size)>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn epoch_precision( self, epoch_precision: Duration, ) -> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, (Duration,), __almanac, ___msr_size)>

Precision of the measurement epoch when processing measurements.

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __prop, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, ___msr_size> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, (), ___msr_size)>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn almanac( self, almanac: Arc<Almanac>, ) -> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, (Arc<Almanac>,), ___msr_size)>

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __prop, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, __almanac> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, __almanac, ())>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn _msr_size( self, _msr_size: PhantomData<MsrSize>, ) -> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, (__prop, __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, __almanac, (PhantomData<MsrSize>,))>

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, __kf_variant: Optional<KalmanVariant>, __resid_crit: Optional<Option<ResidRejectCrit>>, __devices: Optional<BTreeMap<String, Trk>>, __process_noise: Optional<Vec<ProcessNoise<Accel>>>, __max_step: Optional<Duration>, __epoch_precision: Optional<Duration>, ___msr_size: Optional<PhantomData<MsrSize>>> KalmanODProcessBuilder<D, MsrSize, Accel, Trk, ((Propagator<D>,), __kf_variant, __resid_crit, __devices, __process_noise, __max_step, __epoch_precision, (Arc<Almanac>,), ___msr_size)>
where D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source

pub fn build(self) -> KalmanODProcess<D, MsrSize, Accel, Trk>

Finalise the builder and create its KalmanODProcess instance

Trait Implementations§

Source§

impl<D: Dynamics, MsrSize: DimName, Accel: DimName, Trk: TrackerSensitivity<D::StateType, D::StateType>, TypedBuilderFields> Clone for KalmanODProcessBuilder<D, MsrSize, Accel, Trk, TypedBuilderFields>
where TypedBuilderFields: Clone, D::StateType: Interpolatable + Add<OVector<f64, <D::StateType as State>::Size>, Output = D::StateType>, <DefaultAllocator as Allocator<<D::StateType as State>::VecLength>>::Buffer<f64>: Send, <DefaultAllocator as Allocator<<D::StateType as State>::Size>>::Buffer<f64>: Copy, <DefaultAllocator as Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size>>::Buffer<f64>: Copy, DefaultAllocator: Allocator<<D::StateType as State>::Size> + Allocator<<D::StateType as State>::VecLength> + Allocator<MsrSize> + Allocator<MsrSize, <D::StateType as State>::Size> + Allocator<<D::StateType as State>::Size, MsrSize> + Allocator<MsrSize, MsrSize> + Allocator<<D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<Accel> + Allocator<Accel, Accel> + Allocator<<D::StateType as State>::Size, Accel> + Allocator<Accel, <D::StateType as State>::Size>,

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<D, MsrSize, Accel, Trk, TypedBuilderFields> Freeze for KalmanODProcessBuilder<D, MsrSize, Accel, Trk, TypedBuilderFields>

§

impl<D, MsrSize, Accel, Trk, TypedBuilderFields> RefUnwindSafe for KalmanODProcessBuilder<D, MsrSize, Accel, Trk, TypedBuilderFields>

§

impl<D, MsrSize, Accel, Trk, TypedBuilderFields> Send for KalmanODProcessBuilder<D, MsrSize, Accel, Trk, TypedBuilderFields>

§

impl<D, MsrSize, Accel, Trk, TypedBuilderFields> Sync for KalmanODProcessBuilder<D, MsrSize, Accel, Trk, TypedBuilderFields>

§

impl<D, MsrSize, Accel, Trk, TypedBuilderFields> Unpin for KalmanODProcessBuilder<D, MsrSize, Accel, Trk, TypedBuilderFields>
where DefaultAllocator: Sized, <DefaultAllocator as Allocator<<<D as Dynamics>::StateType as State>::Size, <<D as Dynamics>::StateType as State>::Size>>::Buffer<f64>: Sized, <DefaultAllocator as Allocator<<<D as Dynamics>::StateType as State>::Size>>::Buffer<f64>: Sized, <D as Dynamics>::StateType: Sized, TypedBuilderFields: Unpin, D: Unpin, MsrSize: Unpin, Accel: Unpin, Trk: Unpin,

§

impl<D, MsrSize, Accel, Trk, TypedBuilderFields> UnwindSafe for KalmanODProcessBuilder<D, MsrSize, Accel, Trk, TypedBuilderFields>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T