Struct three::CubeMapPath
source · pub struct CubeMapPath<P: AsRef<Path>> {
pub front: P,
pub back: P,
pub left: P,
pub right: P,
pub up: P,
pub down: P,
}
Expand description
Represents paths to cube map texture, useful for loading
CubeMap
.
Fields
front: P
“Front” image. Z+
.
back: P
“Back” image. Z-
.
left: P
“Left” image. X-
.
right: P
“Right” image. X+
.
up: P
“Up” image. Y+
.
down: P
“Down” image. Y-
.
Trait Implementations
sourceimpl<P: Clone + AsRef<Path>> Clone for CubeMapPath<P>
impl<P: Clone + AsRef<Path>> Clone for CubeMapPath<P>
sourcefn clone(&self) -> CubeMapPath<P>
fn clone(&self) -> CubeMapPath<P>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<P> RefUnwindSafe for CubeMapPath<P>where
P: RefUnwindSafe,
impl<P> Send for CubeMapPath<P>where
P: Send,
impl<P> Sync for CubeMapPath<P>where
P: Sync,
impl<P> Unpin for CubeMapPath<P>where
P: Unpin,
impl<P> UnwindSafe for CubeMapPath<P>where
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.