pub struct PageStyleValue(pub AutoOr<CustomIdent>);Expand description
Represents the style value for page as defined in css-page-4.
The :first, :left, and :right pseudo-classes select pages based on their position in sequence after pagination. They’re often used with the page CSS property, to choose a print layout defined by the @page rule.
The grammar is defined as:
auto | <custom-ident>Tuple Fields§
§0: AutoOr<CustomIdent>Trait Implementations§
Source§impl Clone for PageStyleValue
impl Clone for PageStyleValue
Source§fn clone(&self) -> PageStyleValue
fn clone(&self) -> PageStyleValue
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 moreSource§impl Debug for PageStyleValue
impl Debug for PageStyleValue
Source§impl Hash for PageStyleValue
impl Hash for PageStyleValue
Source§impl Ord for PageStyleValue
impl Ord for PageStyleValue
Source§fn cmp(&self, other: &PageStyleValue) -> Ordering
fn cmp(&self, other: &PageStyleValue) -> Ordering
1.21.0 · 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<'a> Parse<'a> for PageStyleValue
impl<'a> Parse<'a> for PageStyleValue
Source§impl PartialEq for PageStyleValue
impl PartialEq for PageStyleValue
Source§impl PartialOrd for PageStyleValue
impl PartialOrd for PageStyleValue
Source§impl<'a> Peek<'a> for PageStyleValue
impl<'a> Peek<'a> for PageStyleValue
Source§impl ToCursors for PageStyleValue
impl ToCursors for PageStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for PageStyleValue
impl StructuralPartialEq for PageStyleValue
Auto Trait Implementations§
impl Freeze for PageStyleValue
impl RefUnwindSafe for PageStyleValue
impl Send for PageStyleValue
impl Sync for PageStyleValue
impl Unpin for PageStyleValue
impl UnwindSafe for PageStyleValue
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