Enum three::Background
source · Expand description
Background type.
Variants
Color(Color)
Basic solid color background.
Texture(Texture<[f32; 4]>)
Texture background, covers the whole screen.
Skybox(CubeMap<[f32; 4]>)
Skybox
Trait Implementations
sourceimpl Clone for Background
impl Clone for Background
sourcefn clone(&self) -> Background
fn clone(&self) -> Background
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 moresourceimpl Debug for Background
impl Debug for Background
sourceimpl PartialEq<Background> for Background
impl PartialEq<Background> for Background
sourcefn eq(&self, other: &Background) -> bool
fn eq(&self, other: &Background) -> bool
impl StructuralPartialEq for Background
Auto Trait Implementations
impl !RefUnwindSafe for Background
impl Send for Background
impl Sync for Background
impl Unpin for Background
impl !UnwindSafe for Background
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
.