pub struct LayoutStyleRule {
pub path: Vec<PathSegment>,
pub style: LayoutStyle,
pub variant_constraints: Vec<VariantConstraint>,
}Expand description
Style directive at a path with optional union constraints.
Fields§
§path: Vec<PathSegment>§style: LayoutStyle§variant_constraints: Vec<VariantConstraint>Trait Implementations§
Source§impl Clone for LayoutStyleRule
impl Clone for LayoutStyleRule
Source§fn clone(&self) -> LayoutStyleRule
fn clone(&self) -> LayoutStyleRule
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 LayoutStyleRule
impl Debug for LayoutStyleRule
Source§impl PartialEq for LayoutStyleRule
impl PartialEq for LayoutStyleRule
impl Eq for LayoutStyleRule
impl StructuralPartialEq for LayoutStyleRule
Auto Trait Implementations§
impl Freeze for LayoutStyleRule
impl RefUnwindSafe for LayoutStyleRule
impl Send for LayoutStyleRule
impl Sync for LayoutStyleRule
impl Unpin for LayoutStyleRule
impl UnsafeUnpin for LayoutStyleRule
impl UnwindSafe for LayoutStyleRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.