#[non_exhaustive]pub struct VisibleFaceOutcome {
pub view: View,
pub regions: Vec<VisibleRegion>,
pub evidence: VisibleFaceEvidence,
}Expand description
Visible regions plus evidence.
Regions are ordered by the mesh’s position in the request, then by
source, then by the outer ring’s points, lexicographically.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.view: ViewThe view the regions are expressed in, unchanged.
regions: Vec<VisibleRegion>The regions.
evidence: VisibleFaceEvidenceCounts.
Implementations§
Source§impl VisibleFaceOutcome
impl VisibleFaceOutcome
Sourcepub fn new(
view: View,
regions: Vec<VisibleRegion>,
evidence: VisibleFaceEvidence,
) -> Self
pub fn new( view: View, regions: Vec<VisibleRegion>, evidence: VisibleFaceEvidence, ) -> Self
Construct a provider result. Registries validate it before returning it.
Trait Implementations§
Source§impl Clone for VisibleFaceOutcome
impl Clone for VisibleFaceOutcome
Source§fn clone(&self) -> VisibleFaceOutcome
fn clone(&self) -> VisibleFaceOutcome
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 moreSource§impl Debug for VisibleFaceOutcome
impl Debug for VisibleFaceOutcome
Source§impl PartialEq for VisibleFaceOutcome
impl PartialEq for VisibleFaceOutcome
impl StructuralPartialEq for VisibleFaceOutcome
Auto Trait Implementations§
impl Freeze for VisibleFaceOutcome
impl RefUnwindSafe for VisibleFaceOutcome
impl Send for VisibleFaceOutcome
impl Sync for VisibleFaceOutcome
impl Unpin for VisibleFaceOutcome
impl UnsafeUnpin for VisibleFaceOutcome
impl UnwindSafe for VisibleFaceOutcome
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