pub struct DisplacementTarget<NId = NodeId> {
pub node: NId,
pub dof: usize,
pub value: f64,
pub exact: bool,
}Expand description
Stop when node’s dof reaches value (in either direction). With
exact, the bracketing step is retaken with an interpolated radius so
the phase ends on the target.
Fields§
§node: NId§dof: usize§value: f64§exact: boolTrait Implementations§
Source§impl<NId: Clone> Clone for DisplacementTarget<NId>
impl<NId: Clone> Clone for DisplacementTarget<NId>
Source§fn clone(&self) -> DisplacementTarget<NId>
fn clone(&self) -> DisplacementTarget<NId>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<NId: Copy> Copy for DisplacementTarget<NId>
Source§impl<NId: Debug> Debug for DisplacementTarget<NId>
impl<NId: Debug> Debug for DisplacementTarget<NId>
Source§impl<NId: PartialEq> PartialEq for DisplacementTarget<NId>
impl<NId: PartialEq> PartialEq for DisplacementTarget<NId>
impl<NId: PartialEq> StructuralPartialEq for DisplacementTarget<NId>
Auto Trait Implementations§
impl<NId> Freeze for DisplacementTarget<NId>where
NId: Freeze,
impl<NId> RefUnwindSafe for DisplacementTarget<NId>where
NId: RefUnwindSafe,
impl<NId> Send for DisplacementTarget<NId>where
NId: Send,
impl<NId> Sync for DisplacementTarget<NId>where
NId: Sync,
impl<NId> Unpin for DisplacementTarget<NId>where
NId: Unpin,
impl<NId> UnsafeUnpin for DisplacementTarget<NId>where
NId: UnsafeUnpin,
impl<NId> UnwindSafe for DisplacementTarget<NId>where
NId: UnwindSafe,
Blanket Implementations§
impl<T> Boilerplate for T
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.