pub struct PositionedRect {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Fields§
§x: u32§y: u32§width: u32§height: u32Implementations§
Trait Implementations§
Source§impl Clone for PositionedRect
impl Clone for PositionedRect
Source§fn clone(&self) -> PositionedRect
fn clone(&self) -> PositionedRect
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 moreSource§impl Debug for PositionedRect
impl Debug for PositionedRect
Source§impl Default for PositionedRect
impl Default for PositionedRect
Source§fn default() -> PositionedRect
fn default() -> PositionedRect
Returns the “default value” for a type. Read more
Source§impl PartialEq for PositionedRect
impl PartialEq for PositionedRect
impl Copy for PositionedRect
impl Eq for PositionedRect
impl StructuralPartialEq for PositionedRect
Auto Trait Implementations§
impl Freeze for PositionedRect
impl RefUnwindSafe for PositionedRect
impl Send for PositionedRect
impl Sync for PositionedRect
impl Unpin for PositionedRect
impl UnwindSafe for PositionedRect
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().