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,
) -> Self
pub fn new( view: View, segments: Vec<HiddenLineSegment>, evidence: HiddenLineEvidence, ) -> Self
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