pub struct LayoutRule {
pub name: String,
pub condition: RuleCondition,
pub action: RuleAction,
pub priority: u32,
}Expand description
Layout rules for structure detection
Fields§
§name: StringRule name
condition: RuleConditionRule condition
action: RuleActionRule action
priority: u32Rule priority
Trait Implementations§
Source§impl Clone for LayoutRule
impl Clone for LayoutRule
Source§fn clone(&self) -> LayoutRule
fn clone(&self) -> LayoutRule
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 moreAuto Trait Implementations§
impl Freeze for LayoutRule
impl RefUnwindSafe for LayoutRule
impl Send for LayoutRule
impl Sync for LayoutRule
impl Unpin for LayoutRule
impl UnwindSafe for LayoutRule
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