[−][src]Enum coord_2d::Axis
Variants
X
Y
Methods
impl Axis
[src]
impl Axis
pub fn other(self) -> Self | [src] |
pub fn new_coord(self, this_axis: i32, other_axis: i32) -> Coord | [src] |
pub fn try_new_size( | [src] |
pub fn new_size(self, this_axis: u32, other_axis: u32) -> Size | [src] |
Trait Implementations
impl Eq for Axis
[src]
impl Eq for Axis
impl PartialOrd<Axis> for Axis
[src]
impl PartialOrd<Axis> for Axis
fn partial_cmp(&self, other: &Axis) -> Option<Ordering> | [src] |
| 1.0.0 [src] |
This method tests less than (for self
and other
) and is used by the <
operator. Read more
| 1.0.0 [src] |
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
| 1.0.0 [src] |
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
| 1.0.0 [src] |
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Copy for Axis
[src]
impl Copy for Axis
impl PartialEq<Axis> for Axis
[src]
impl PartialEq<Axis> for Axis
fn eq(&self, other: &Axis) -> bool | [src] |
| 1.0.0 [src] |
This method tests for !=
.
impl Clone for Axis
[src]
impl Clone for Axis
fn clone(&self) -> Axis | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Ord for Axis
[src]
impl Ord for Axis
fn cmp(&self, other: &Axis) -> Ordering | [src] |
fn max(self, other: Self) -> Self | 1.21.0 [src] |
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self | 1.21.0 [src] |
Compares and returns the minimum of two values. Read more
impl Debug for Axis
[src]
impl Debug for Axis
impl Hash for Axis
[src]
impl Hash for Axis
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |