pub struct RuleCommand {
pub x: i32,
pub y: i32,
pub length: u32,
pub thickness: u32,
pub horizontal: bool,
}Expand description
Rule draw command.
Fields§
§x: i32Start x.
y: i32Start y.
length: u32Length.
thickness: u32Thickness.
horizontal: boolHorizontal if true; vertical if false.
Trait Implementations§
Source§impl Clone for RuleCommand
impl Clone for RuleCommand
Source§fn clone(&self) -> RuleCommand
fn clone(&self) -> RuleCommand
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 RuleCommand
impl Debug for RuleCommand
Source§impl PartialEq for RuleCommand
impl PartialEq for RuleCommand
impl Copy for RuleCommand
impl Eq for RuleCommand
impl StructuralPartialEq for RuleCommand
Auto Trait Implementations§
impl Freeze for RuleCommand
impl RefUnwindSafe for RuleCommand
impl Send for RuleCommand
impl Sync for RuleCommand
impl Unpin for RuleCommand
impl UnsafeUnpin for RuleCommand
impl UnwindSafe for RuleCommand
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