pub struct CloudLayer { /* private fields */ }Expand description
A descriptive cloud layer built from kind, cover, and optional base.
Implementations§
Source§impl CloudLayer
impl CloudLayer
Sourcepub fn new(kind: CloudKind, cover: CloudCover) -> Self
pub fn new(kind: CloudKind, cover: CloudCover) -> Self
Creates a cloud layer from cloud kind and cover.
Sourcepub fn cover(&self) -> CloudCover
pub fn cover(&self) -> CloudCover
Returns the cloud cover.
Trait Implementations§
Source§impl Clone for CloudLayer
impl Clone for CloudLayer
Source§fn clone(&self) -> CloudLayer
fn clone(&self) -> CloudLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudLayer
impl Debug for CloudLayer
Source§impl PartialEq for CloudLayer
impl PartialEq for CloudLayer
Source§fn eq(&self, other: &CloudLayer) -> bool
fn eq(&self, other: &CloudLayer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CloudLayer
Auto Trait Implementations§
impl Freeze for CloudLayer
impl RefUnwindSafe for CloudLayer
impl Send for CloudLayer
impl Sync for CloudLayer
impl Unpin for CloudLayer
impl UnsafeUnpin for CloudLayer
impl UnwindSafe for CloudLayer
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