pub struct Sky {
pub kind: SkyKind,
pub path: Option<String>,
pub rotation_deg: Option<f32>,
pub intensity: Option<f32>,
pub turbidity: Option<f32>,
pub ground_albedo: Option<[f32; 3]>,
pub ambient: Option<f32>,
pub prepare: Option<Prepare>,
pub room: Option<Room>,
pub weight: Option<f32>,
pub layer: Vec<Sky>,
}Fields§
§kind: SkyKind§path: Option<String>§rotation_deg: Option<f32>§intensity: Option<f32>§turbidity: Option<f32>§ground_albedo: Option<[f32; 3]>§ambient: Option<f32>§prepare: Option<Prepare>§room: Option<Room>§weight: Option<f32>§layer: Vec<Sky>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sky
impl<'de> Deserialize<'de> for Sky
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Sky
Auto Trait Implementations§
impl Freeze for Sky
impl RefUnwindSafe for Sky
impl Send for Sky
impl Sync for Sky
impl Unpin for Sky
impl UnsafeUnpin for Sky
impl UnwindSafe for Sky
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