pub struct CloudParamsSpec {
pub density: f32,
pub color_bright: SColor,
pub color_ambient: SColor,
pub height: f32,
pub thickness: f32,
pub speed: v2f,
}
Fields§
§density: f32
§color_bright: SColor
§color_ambient: SColor
§height: f32
§thickness: f32
§speed: v2f
Trait Implementations§
Source§impl Clone for CloudParamsSpec
impl Clone for CloudParamsSpec
Source§fn clone(&self) -> CloudParamsSpec
fn clone(&self) -> CloudParamsSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CloudParamsSpec
impl Debug for CloudParamsSpec
Source§impl Deserialize for CloudParamsSpec
impl Deserialize for CloudParamsSpec
Source§type Output = CloudParamsSpec
type Output = CloudParamsSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<CloudParamsSpec> for ToClientCommand
impl From<CloudParamsSpec> for ToClientCommand
Source§fn from(value: CloudParamsSpec) -> Self
fn from(value: CloudParamsSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CloudParamsSpec
impl PartialEq for CloudParamsSpec
Source§impl Serialize for CloudParamsSpec
impl Serialize for CloudParamsSpec
type Input = CloudParamsSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for CloudParamsSpec
Auto Trait Implementations§
impl Freeze for CloudParamsSpec
impl RefUnwindSafe for CloudParamsSpec
impl Send for CloudParamsSpec
impl Sync for CloudParamsSpec
impl Unpin for CloudParamsSpec
impl UnwindSafe for CloudParamsSpec
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