pub struct DecorationsState {
pub layer_count: usize,
pub decoration_count: usize,
}Expand description
Decorations state
Fields§
§layer_count: usizeTotal number of decoration layers.
decoration_count: usizeTotal number of decorations (across all layers).
Trait Implementations§
Source§impl Clone for DecorationsState
impl Clone for DecorationsState
Source§fn clone(&self) -> DecorationsState
fn clone(&self) -> DecorationsState
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 DecorationsState
impl RefUnwindSafe for DecorationsState
impl Send for DecorationsState
impl Sync for DecorationsState
impl Unpin for DecorationsState
impl UnsafeUnpin for DecorationsState
impl UnwindSafe for DecorationsState
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