pub struct SeenSpace {
pub cell: usize,
pub through: Option<usize>,
pub depth: u8,
pub to_eye: Mat4,
pub light: Option<Light>,
pub door: Option<SeenDoor>,
}Expand description
A space the eye sees.
Fields§
§cell: usizeThe space, by its number in the tree.
through: Option<usize>The seen space whose doorway it shows through; None for the eye’s
own.
depth: u8How many doorways deep it shows: 0 for the eye’s own space. The stencil that marks where each doorway opens counts them in eight bits, so the eye sees no deeper than 255.
to_eye: Mat4Maps the space into the eye’s.
light: Option<Light>The space’s light, in the eye’s space.
door: Option<SeenDoor>The doorway it shows through; None for the eye’s own space.
Auto Trait Implementations§
impl Freeze for SeenSpace
impl RefUnwindSafe for SeenSpace
impl Send for SeenSpace
impl Sync for SeenSpace
impl Unpin for SeenSpace
impl UnsafeUnpin for SeenSpace
impl UnwindSafe for SeenSpace
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