pub struct Fog {
pub name: String,
pub color: Color,
pub near: f64,
pub far: f64,
}Expand description
Fog — linear fog: none before near, all fog from far on.
Fields§
§name: Stringfog.name.
color: Colorfog.color, in the working colour space.
near: f64fog.near.
far: f64fog.far.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Fog
Auto Trait Implementations§
impl Freeze for Fog
impl RefUnwindSafe for Fog
impl Send for Fog
impl Sync for Fog
impl Unpin for Fog
impl UnsafeUnpin for Fog
impl UnwindSafe for Fog
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