#[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,
) -> VisibleFaceOutcome
pub fn new( view: View, regions: Vec<VisibleRegion>, evidence: VisibleFaceEvidence, ) -> VisibleFaceOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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