pub struct HiddenLineOutcome {
pub view: View,
pub segments: Vec<HiddenLineSegment>,
pub evidence: HiddenLineEvidence,
}Expand description
Image-space segments plus evidence.
Segments are ordered by the mesh’s position in the request, then by
source.vertices, then by parameter along the edge.
Fields§
§view: ViewThe view the segments are expressed in, unchanged.
segments: Vec<HiddenLineSegment>Visible and hidden pieces.
evidence: HiddenLineEvidenceCounts.
Implementations§
Source§impl HiddenLineOutcome
impl HiddenLineOutcome
Sourcepub fn new(
view: View,
segments: Vec<HiddenLineSegment>,
evidence: HiddenLineEvidence,
) -> HiddenLineOutcome
pub fn new( view: View, segments: Vec<HiddenLineSegment>, evidence: HiddenLineEvidence, ) -> HiddenLineOutcome
Construct a provider result. Registries validate it before returning it.
Trait Implementations§
Source§impl Clone for HiddenLineOutcome
impl Clone for HiddenLineOutcome
Source§fn clone(&self) -> HiddenLineOutcome
fn clone(&self) -> HiddenLineOutcome
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 HiddenLineOutcome
impl Debug for HiddenLineOutcome
Source§impl PartialEq for HiddenLineOutcome
impl PartialEq for HiddenLineOutcome
impl StructuralPartialEq for HiddenLineOutcome
Auto Trait Implementations§
impl Freeze for HiddenLineOutcome
impl RefUnwindSafe for HiddenLineOutcome
impl Send for HiddenLineOutcome
impl Sync for HiddenLineOutcome
impl Unpin for HiddenLineOutcome
impl UnsafeUnpin for HiddenLineOutcome
impl UnwindSafe for HiddenLineOutcome
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