pub struct OffsetCoordinate(pub IVec2);Expand description
A coordinate in the offset coordinate system.
See the module-level documentation for details on coordinate ranges, normalization, and relationships to other coordinate systems.
Tuple Fields§
§0: IVec2Implementations§
Trait Implementations§
Source§impl Clone for OffsetCoordinate
impl Clone for OffsetCoordinate
Source§fn clone(&self) -> OffsetCoordinate
fn clone(&self) -> OffsetCoordinate
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 moreimpl Copy for OffsetCoordinate
Source§impl Debug for OffsetCoordinate
impl Debug for OffsetCoordinate
impl Eq for OffsetCoordinate
Source§impl Hash for OffsetCoordinate
impl Hash for OffsetCoordinate
Source§impl PartialEq for OffsetCoordinate
impl PartialEq for OffsetCoordinate
impl StructuralPartialEq for OffsetCoordinate
Auto Trait Implementations§
impl Freeze for OffsetCoordinate
impl RefUnwindSafe for OffsetCoordinate
impl Send for OffsetCoordinate
impl Sync for OffsetCoordinate
impl Unpin for OffsetCoordinate
impl UnsafeUnpin for OffsetCoordinate
impl UnwindSafe for OffsetCoordinate
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