[][src]Struct bsp::Handle

pub struct Handle<'a, T> { /* fields omitted */ }

Methods

impl<'a, T> Handle<'a, T>[src]

pub fn as_ref(&self) -> &'a T[src]

impl<'_> Handle<'_, Face>[src]

pub fn texture(&self) -> Option<&Texture>[src]

impl<'_> Handle<'_, Node>[src]

pub fn plane(&self) -> Option<Handle<Plane>>[src]

impl<'a> Handle<'a, Leaf>[src]

pub fn visible_set(&self) -> Option<impl Iterator<Item = Handle<'a, Leaf>>>[src]

pub fn faces(&self) -> impl Iterator<Item = Handle<'a, Face>>[src]

Trait Implementations

impl<T, '_> Deref for Handle<'_, T>[src]

type Target = T

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a, T> Send for Handle<'a, T> where
    T: Sync

impl<'a, T> Sync for Handle<'a, T> where
    T: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.