pub struct Fixed<P> {
pub projector: P,
}Expand description
Apply the projector P to be fixed throughout the entire horizon.
Fields§
§projector: PImplementations§
Trait Implementations§
Source§impl<P: ProjectSingle<T, D>, T: RealField + Copy, const D: usize, const H: usize> ProjectMulti<T, D, H> for Fixed<P>
impl<P: ProjectSingle<T, D>, T: RealField + Copy, const D: usize, const H: usize> ProjectMulti<T, D, H> for Fixed<P>
fn project_multi(&self, points: &mut SMatrix<T, D, H>)
Auto Trait Implementations§
impl<P> Freeze for Fixed<P>where
P: Freeze,
impl<P> RefUnwindSafe for Fixed<P>where
P: RefUnwindSafe,
impl<P> Send for Fixed<P>where
P: Send,
impl<P> Sync for Fixed<P>where
P: Sync,
impl<P> Unpin for Fixed<P>where
P: Unpin,
impl<P> UnwindSafe for Fixed<P>where
P: UnwindSafe,
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
Source§impl<P, T, const D: usize, const H: usize> ProjectMultiExt<T, D, H> for P
impl<P, T, const D: usize, const H: usize> ProjectMultiExt<T, D, H> for P
fn dynamic(&self) -> &dyn ProjectMulti<T, D, H>
fn constraint(&self) -> Constraint<T, &Self, D, H>
fn dyn_constraint(&self) -> DynConstraint<'_, T, D, H>
fn constraint_owned(self) -> Constraint<T, Self, D, H>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.