pub struct MoonParams {
pub visible: bool,
pub texture: String,
pub tonemap: String,
pub scale: f32,
}
Fields§
§visible: bool
§texture: String
§tonemap: String
§scale: f32
Trait Implementations§
Source§impl Clone for MoonParams
impl Clone for MoonParams
Source§fn clone(&self) -> MoonParams
fn clone(&self) -> MoonParams
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 MoonParams
impl Debug for MoonParams
Source§impl Deserialize for MoonParams
impl Deserialize for MoonParams
Source§type Output = MoonParams
type Output = MoonParams
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for MoonParams
impl PartialEq for MoonParams
Source§impl Serialize for MoonParams
impl Serialize for MoonParams
type Input = MoonParams
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for MoonParams
Auto Trait Implementations§
impl Freeze for MoonParams
impl RefUnwindSafe for MoonParams
impl Send for MoonParams
impl Sync for MoonParams
impl Unpin for MoonParams
impl UnwindSafe for MoonParams
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