Struct fj_kernel::partial::PartialSurfaceVertex
source · pub struct PartialSurfaceVertex {
pub position: Option<Point<2>>,
pub surface: Partial<Surface>,
pub global_form: Partial<GlobalVertex>,
}Expand description
A partial SurfaceVertex
Fields§
§position: Option<Point<2>>The position of the vertex on the surface
surface: Partial<Surface>The surface that the vertex is defined in
global_form: Partial<GlobalVertex>The global form of the vertex
Trait Implementations§
source§impl Clone for PartialSurfaceVertex
impl Clone for PartialSurfaceVertex
source§fn clone(&self) -> PartialSurfaceVertex
fn clone(&self) -> PartialSurfaceVertex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PartialSurfaceVertex
impl Debug for PartialSurfaceVertex
source§impl Default for PartialSurfaceVertex
impl Default for PartialSurfaceVertex
source§fn default() -> PartialSurfaceVertex
fn default() -> PartialSurfaceVertex
Returns the “default value” for a type. Read more
source§impl PartialObject for PartialSurfaceVertex
impl PartialObject for PartialSurfaceVertex
§type Full = SurfaceVertex
type Full = SurfaceVertex
The type representing the full object
source§fn from_full(surface_vertex: &Self::Full, cache: &mut FullToPartialCache) -> Self
fn from_full(surface_vertex: &Self::Full, cache: &mut FullToPartialCache) -> Self
Construct a partial object from a full one
source§impl SurfaceVertexBuilder for PartialSurfaceVertex
impl SurfaceVertexBuilder for PartialSurfaceVertex
source§fn infer_global_position(&mut self) -> Point<3>
fn infer_global_position(&mut self) -> Point<3>
Infer the position of the surface vertex’ global form Read more
Auto Trait Implementations§
impl !RefUnwindSafe for PartialSurfaceVertex
impl Send for PartialSurfaceVertex
impl Sync for PartialSurfaceVertex
impl Unpin for PartialSurfaceVertex
impl !UnwindSafe for PartialSurfaceVertex
Blanket Implementations§
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§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.