pub struct Rect {
pub color: Option<Color>,
pub fill: Option<Color>,
pub left: f32,
pub top: f32,
pub width: f32,
pub height: f32,
pub rx: Option<f32>,
pub ry: Option<f32>,
}Fields§
§color: Option<Color>§fill: Option<Color>§left: f32§top: f32§width: f32§height: f32§rx: Option<f32>§ry: Option<f32>Implementations§
Trait Implementations§
source§impl PartialEq for Rect
impl PartialEq for Rect
impl StructuralPartialEq for Rect
Auto Trait Implementations§
impl RefUnwindSafe for Rect
impl Send for Rect
impl Sync for Rect
impl Unpin for Rect
impl UnwindSafe for Rect
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().