pub enum SightOutcome {
Visible {
through: [f64; 3],
},
Hidden {
occluders: Vec<ObjectId>,
},
Undecided,
}Expand description
What was proven about the view of one target.
Variants§
Visible
The segment from the eye to through, a point of the target, meets
no blocker before it reaches the target.
Hidden
Every ray from the eye to the target meets one of occluders first.
Undecided
Neither could be proven.
Trait Implementations§
Source§impl Clone for SightOutcome
impl Clone for SightOutcome
Source§impl Debug for SightOutcome
impl Debug for SightOutcome
Source§impl PartialEq for SightOutcome
impl PartialEq for SightOutcome
impl StructuralPartialEq for SightOutcome
Auto Trait Implementations§
impl Freeze for SightOutcome
impl RefUnwindSafe for SightOutcome
impl Send for SightOutcome
impl Sync for SightOutcome
impl Unpin for SightOutcome
impl UnsafeUnpin for SightOutcome
impl UnwindSafe for SightOutcome
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