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