pub struct LayoutStyles(pub BTreeMap<String, LayoutStyle>);Tuple Fields§
§0: BTreeMap<String, LayoutStyle>Implementations§
Source§impl LayoutStyles
impl LayoutStyles
pub fn insert(&mut self, id: impl Into<String>, style: LayoutStyle)
Trait Implementations§
Source§impl Clone for LayoutStyles
impl Clone for LayoutStyles
Source§fn clone(&self) -> LayoutStyles
fn clone(&self) -> LayoutStyles
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 LayoutStyles
impl Debug for LayoutStyles
Source§impl Default for LayoutStyles
impl Default for LayoutStyles
Source§fn default() -> LayoutStyles
fn default() -> LayoutStyles
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayoutStyles
impl RefUnwindSafe for LayoutStyles
impl Send for LayoutStyles
impl Sync for LayoutStyles
impl Unpin for LayoutStyles
impl UnsafeUnpin for LayoutStyles
impl UnwindSafe for LayoutStyles
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