Struct ImageContent
pub struct ImageContent {
pub left: f32,
pub top: f32,
pub right: f32,
pub bottom: f32,
}Expand description
Content-box insets in image pixels, measured from the image’s top-left.
Fields§
§left: f32§top: f32§right: f32§bottom: f32Trait Implementations§
§impl Clone for ImageContent
impl Clone for ImageContent
§fn clone(&self) -> ImageContent
fn clone(&self) -> ImageContent
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 more§impl Debug for ImageContent
impl Debug for ImageContent
§impl PartialEq for ImageContent
impl PartialEq for ImageContent
impl Copy for ImageContent
impl StructuralPartialEq for ImageContent
Auto Trait Implementations§
impl Freeze for ImageContent
impl RefUnwindSafe for ImageContent
impl Send for ImageContent
impl Sync for ImageContent
impl Unpin for ImageContent
impl UnsafeUnpin for ImageContent
impl UnwindSafe for ImageContent
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