pub struct StyleId(pub u32);Expand description
Identifier for a resolved style bundle.
§Examples
use mos_core::StyleId;
let style = StyleId::default();
assert_eq!(style.0, 0);Tuple Fields§
§0: u32Trait Implementations§
Source§impl Ord for StyleId
impl Ord for StyleId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for StyleId
impl PartialOrd for StyleId
impl Copy for StyleId
impl Eq for StyleId
impl StructuralPartialEq for StyleId
Auto Trait Implementations§
impl Freeze for StyleId
impl RefUnwindSafe for StyleId
impl Send for StyleId
impl Sync for StyleId
impl Unpin for StyleId
impl UnsafeUnpin for StyleId
impl UnwindSafe for StyleId
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