Struct resvg::resvg_rect
source · #[repr(C)]pub struct resvg_rect {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}
Expand description
@brief A rectangle representation.
Fields§
§x: f32
§y: f32
§width: f32
§height: f32
Trait Implementations§
source§impl Clone for resvg_rect
impl Clone for resvg_rect
source§fn clone(&self) -> resvg_rect
fn clone(&self) -> resvg_rect
Returns a copy 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 moreimpl Copy for resvg_rect
Auto Trait Implementations§
impl RefUnwindSafe for resvg_rect
impl Send for resvg_rect
impl Sync for resvg_rect
impl Unpin for resvg_rect
impl UnwindSafe for resvg_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