pub struct BoundingBoxInfo {
pub min_x: u32,
pub min_y: u32,
pub max_x: u32,
pub max_y: u32,
}Expand description
Bounding box information for rendered content
Fields§
§min_x: u32Minimum X coordinate
min_y: u32Minimum Y coordinate
max_x: u32Maximum X coordinate
max_y: u32Maximum Y coordinate
Trait Implementations§
Source§impl Clone for BoundingBoxInfo
impl Clone for BoundingBoxInfo
Source§fn clone(&self) -> BoundingBoxInfo
fn clone(&self) -> BoundingBoxInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BoundingBoxInfo
impl Debug for BoundingBoxInfo
Source§impl PartialEq for BoundingBoxInfo
impl PartialEq for BoundingBoxInfo
Source§fn eq(&self, other: &BoundingBoxInfo) -> bool
fn eq(&self, other: &BoundingBoxInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BoundingBoxInfo
Available on crate feature serde only.
impl Serialize for BoundingBoxInfo
Available on crate feature
serde only.impl StructuralPartialEq for BoundingBoxInfo
Auto Trait Implementations§
impl Freeze for BoundingBoxInfo
impl RefUnwindSafe for BoundingBoxInfo
impl Send for BoundingBoxInfo
impl Sync for BoundingBoxInfo
impl Unpin for BoundingBoxInfo
impl UnsafeUnpin for BoundingBoxInfo
impl UnwindSafe for BoundingBoxInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more