pub struct BackgroundStyleLayer {
pub meta: StyleLayerMeta,
pub color: StyleValue<[f32; 4]>,
}Expand description
Background layer style spec.
Fields§
§meta: StyleLayerMeta§color: StyleValue<[f32; 4]>Implementations§
Trait Implementations§
Source§impl Clone for BackgroundStyleLayer
impl Clone for BackgroundStyleLayer
Source§fn clone(&self) -> BackgroundStyleLayer
fn clone(&self) -> BackgroundStyleLayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BackgroundStyleLayer
impl RefUnwindSafe for BackgroundStyleLayer
impl Send for BackgroundStyleLayer
impl Sync for BackgroundStyleLayer
impl Unpin for BackgroundStyleLayer
impl UnsafeUnpin for BackgroundStyleLayer
impl UnwindSafe for BackgroundStyleLayer
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