pub struct J2kRect {
pub x0: u32,
pub y0: u32,
pub x1: u32,
pub y1: u32,
}Expand description
Adapter integer rectangle for backend experimentation.
Fields§
§x0: u32Inclusive minimum x coordinate.
y0: u32Inclusive minimum y coordinate.
x1: u32Exclusive maximum x coordinate.
y1: u32Exclusive maximum y coordinate.
Implementations§
Trait Implementations§
impl Copy for J2kRect
impl Eq for J2kRect
impl StructuralPartialEq for J2kRect
Auto Trait Implementations§
impl Freeze for J2kRect
impl RefUnwindSafe for J2kRect
impl Send for J2kRect
impl Sync for J2kRect
impl Unpin for J2kRect
impl UnsafeUnpin for J2kRect
impl UnwindSafe for J2kRect
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