pub struct RectCommand {
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
pub fill: bool,
}Expand description
Rectangle command.
Fields§
§x: i32Left x.
y: i32Top y.
width: u32Width.
height: u32Height.
fill: boolFill rectangle when true.
Trait Implementations§
Source§impl Clone for RectCommand
impl Clone for RectCommand
Source§fn clone(&self) -> RectCommand
fn clone(&self) -> RectCommand
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 RectCommand
impl Debug for RectCommand
Source§impl PartialEq for RectCommand
impl PartialEq for RectCommand
impl Copy for RectCommand
impl Eq for RectCommand
impl StructuralPartialEq for RectCommand
Auto Trait Implementations§
impl Freeze for RectCommand
impl RefUnwindSafe for RectCommand
impl Send for RectCommand
impl Sync for RectCommand
impl Unpin for RectCommand
impl UnsafeUnpin for RectCommand
impl UnwindSafe for RectCommand
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