#[repr(transparent)]pub struct AtomId(pub u32);Expand description
Compact 32-bit String Atom Identifier. Static pre-baked atoms occupy indices 0 ..= 1023. Dynamic interned atoms occupy indices 1024+.
Tuple Fields§
§0: u32Implementations§
Source§impl AtomId
impl AtomId
pub const NULL: Self
pub const DIV: Self
pub const SPAN: Self
pub const TEXT: Self
pub const P: Self
pub const A: Self
pub const BUTTON: Self
pub const INPUT: Self
pub const IMG: Self
pub const H1: Self
pub const H2: Self
pub const H3: Self
pub const H4: Self
pub const H5: Self
pub const H6: Self
pub const UL: Self
pub const OL: Self
pub const LI: Self
pub const TABLE: Self
pub const TR: Self
pub const TD: Self
pub const TH: Self
pub const FORM: Self
pub const HEADER: Self
pub const FOOTER: Self
pub const NAV: Self
pub const SECTION: Self
pub const ARTICLE: Self
pub const ASIDE: Self
pub const MAIN: Self
pub const CANVAS: Self
pub const CANVAS_3D: Self
pub const SVG: Self
pub const PATH: Self
pub const DISPLAY: Self
pub const POSITION: Self
pub const WIDTH: Self
pub const HEIGHT: Self
pub const MIN_WIDTH: Self
pub const MAX_WIDTH: Self
pub const MIN_HEIGHT: Self
pub const MAX_HEIGHT: Self
pub const MARGIN: Self
pub const PADDING: Self
pub const BORDER: Self
pub const BORDER_RADIUS: Self
pub const COLOR: Self
pub const BACKGROUND_COLOR: Self
pub const OPACITY: Self
pub const Z_INDEX: Self
pub const TRANSFORM: Self
pub const OVERFLOW: Self
pub const FLEX_DIRECTION: Self
pub const JUSTIFY_CONTENT: Self
pub const ALIGN_ITEMS: Self
pub const GAP: Self
pub const GRID_TEMPLATE_COLUMNS: Self
pub const GRID_TEMPLATE_ROWS: Self
pub const FONT_SANS: Self
pub const FONT_SERIF: Self
pub const FONT_MONO: Self
pub const HREF: Self
pub const fn is_static(self) -> bool
Trait Implementations§
impl Copy for AtomId
impl Eq for AtomId
Source§impl Ord for AtomId
impl Ord for AtomId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for AtomId
impl PartialOrd for AtomId
impl StructuralPartialEq for AtomId
Auto Trait Implementations§
impl Forget for AtomId
impl Freeze for AtomId
impl Move for AtomId
impl RefUnwindSafe for AtomId
impl Send for AtomId
impl Sync for AtomId
impl Unpin for AtomId
impl UnsafeUnpin for AtomId
impl UnwindSafe for AtomId
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