Struct scoundrel::map::FOVRenderingPass
source · [−]pub struct FOVRenderingPass<'a> {
pub map: &'a MapLevel,
pub origin: &'a Point,
pub fov_descriptor: &'a FOVDescriptor,
pub fov: &'a FieldOfView,
pub max_distance: u16,
}
Fields
map: &'a MapLevel
origin: &'a Point
fov_descriptor: &'a FOVDescriptor
fov: &'a FieldOfView
max_distance: u16
Trait Implementations
sourceimpl<'a> Renderable for FOVRenderingPass<'a>
impl<'a> Renderable for FOVRenderingPass<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for FOVRenderingPass<'a>
impl<'a> Send for FOVRenderingPass<'a>
impl<'a> Sync for FOVRenderingPass<'a>
impl<'a> Unpin for FOVRenderingPass<'a>
impl<'a> UnwindSafe for FOVRenderingPass<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.