pub struct BoundsInfo {
pub min_x: u32,
pub min_y: u32,
pub max_x: u32,
pub max_y: u32,
pub width: u32,
pub height: u32,
}Fields§
§min_x: u32§min_y: u32§max_x: u32§max_y: u32§width: u32§height: u32Trait Implementations§
Source§impl Debug for BoundsInfo
impl Debug for BoundsInfo
Auto Trait Implementations§
impl Freeze for BoundsInfo
impl RefUnwindSafe for BoundsInfo
impl Send for BoundsInfo
impl Sync for BoundsInfo
impl Unpin for BoundsInfo
impl UnsafeUnpin for BoundsInfo
impl UnwindSafe for BoundsInfo
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> 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