pub enum LayoutStatement {
Direction(Spanned<String>),
RankSame(IdentifierList),
Order(IdentifierList),
}Expand description
A layout constraint or hint.
Variants§
Direction(Spanned<String>)
Preferred flow direction.
RankSame(IdentifierList)
Same-rank constraint.
Order(IdentifierList)
Relative-order hint.
Implementations§
Trait Implementations§
Source§impl Clone for LayoutStatement
impl Clone for LayoutStatement
Source§fn clone(&self) -> LayoutStatement
fn clone(&self) -> LayoutStatement
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 LayoutStatement
impl Debug for LayoutStatement
impl Eq for LayoutStatement
Source§impl PartialEq for LayoutStatement
impl PartialEq for LayoutStatement
impl StructuralPartialEq for LayoutStatement
Auto Trait Implementations§
impl Freeze for LayoutStatement
impl RefUnwindSafe for LayoutStatement
impl Send for LayoutStatement
impl Sync for LayoutStatement
impl Unpin for LayoutStatement
impl UnsafeUnpin for LayoutStatement
impl UnwindSafe for LayoutStatement
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