pub enum MarginRule<'a> {
Show 16 variants
TopLeftCorner(AtKeyword, MarginRuleBlock<'a>),
TopLeft(AtKeyword, MarginRuleBlock<'a>),
TopCenter(AtKeyword, MarginRuleBlock<'a>),
TopRight(AtKeyword, MarginRuleBlock<'a>),
TopRightCorner(AtKeyword, MarginRuleBlock<'a>),
RightTop(AtKeyword, MarginRuleBlock<'a>),
RightMiddle(AtKeyword, MarginRuleBlock<'a>),
RightBottom(AtKeyword, MarginRuleBlock<'a>),
BottomRightCorner(AtKeyword, MarginRuleBlock<'a>),
BottomRight(AtKeyword, MarginRuleBlock<'a>),
BottomCenter(AtKeyword, MarginRuleBlock<'a>),
BottomLeft(AtKeyword, MarginRuleBlock<'a>),
BottomLeftCorner(AtKeyword, MarginRuleBlock<'a>),
LeftBottom(AtKeyword, MarginRuleBlock<'a>),
LeftMiddle(AtKeyword, MarginRuleBlock<'a>),
LeftTop(AtKeyword, MarginRuleBlock<'a>),
}Variants§
TopLeftCorner(AtKeyword, MarginRuleBlock<'a>)
TopLeft(AtKeyword, MarginRuleBlock<'a>)
TopCenter(AtKeyword, MarginRuleBlock<'a>)
TopRight(AtKeyword, MarginRuleBlock<'a>)
TopRightCorner(AtKeyword, MarginRuleBlock<'a>)
RightTop(AtKeyword, MarginRuleBlock<'a>)
RightMiddle(AtKeyword, MarginRuleBlock<'a>)
RightBottom(AtKeyword, MarginRuleBlock<'a>)
BottomRightCorner(AtKeyword, MarginRuleBlock<'a>)
BottomRight(AtKeyword, MarginRuleBlock<'a>)
BottomCenter(AtKeyword, MarginRuleBlock<'a>)
BottomLeft(AtKeyword, MarginRuleBlock<'a>)
BottomLeftCorner(AtKeyword, MarginRuleBlock<'a>)
LeftBottom(AtKeyword, MarginRuleBlock<'a>)
LeftMiddle(AtKeyword, MarginRuleBlock<'a>)
LeftTop(AtKeyword, MarginRuleBlock<'a>)
Implementations§
Source§impl<'a> MarginRule<'a>
impl<'a> MarginRule<'a>
Trait Implementations§
Source§impl<'a> Clone for MarginRule<'a>
impl<'a> Clone for MarginRule<'a>
Source§fn clone(&self) -> MarginRule<'a>
fn clone(&self) -> MarginRule<'a>
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<'a> Debug for MarginRule<'a>
impl<'a> Debug for MarginRule<'a>
Source§impl<'a> Hash for MarginRule<'a>
impl<'a> Hash for MarginRule<'a>
Source§impl<'a> Ord for MarginRule<'a>
impl<'a> Ord for MarginRule<'a>
Source§fn cmp(&self, other: &MarginRule<'a>) -> Ordering
fn cmp(&self, other: &MarginRule<'a>) -> 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 MarginRule<'a>
impl<'a> Parse<'a> for MarginRule<'a>
Source§impl<'a> PartialEq for MarginRule<'a>
impl<'a> PartialEq for MarginRule<'a>
Source§impl<'a> PartialOrd for MarginRule<'a>
impl<'a> PartialOrd for MarginRule<'a>
Source§impl<'a> Peek<'a> for MarginRule<'a>
impl<'a> Peek<'a> for MarginRule<'a>
Source§impl<'a> ToCursors for MarginRule<'a>
impl<'a> ToCursors for MarginRule<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for MarginRule<'a>
impl<'a> StructuralPartialEq for MarginRule<'a>
Auto Trait Implementations§
impl<'a> Freeze for MarginRule<'a>
impl<'a> !RefUnwindSafe for MarginRule<'a>
impl<'a> !Send for MarginRule<'a>
impl<'a> !Sync for MarginRule<'a>
impl<'a> Unpin for MarginRule<'a>
impl<'a> !UnwindSafe for MarginRule<'a>
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