[−][src]Struct coord_2d::static_axis::X
Trait Implementations
impl StaticAxis for X
[src]
type Other = Y
fn axis() -> Axis
[src]
fn new_coord(this_axis: i32, other_axis: i32) -> Coord
[src]
fn coord_get(coord: Coord) -> i32
[src]
fn coord_get_mut(coord: &mut Coord) -> &mut i32
[src]
fn coord_with_axis<F: FnMut(i32) -> i32>(coord: Coord, f: F) -> Coord
[src]
fn coord_set(coord: Coord, value: i32) -> Coord
[src]
fn coord_set_in_place(coord: &mut Coord, value: i32)
[src]
fn try_new_size(
this_axis: u32,
other_axis: u32
) -> Result<Size, DimensionTooLargeForSize>
[src]
this_axis: u32,
other_axis: u32
) -> Result<Size, DimensionTooLargeForSize>
fn size_get(size: Size) -> u32
[src]
fn size_get_mut(size: &mut Size) -> &mut u32
[src]
fn size_with_axis<F: FnMut(u32) -> u32>(size: Size, f: F) -> Size
[src]
fn try_size_set(
size: Size,
value: u32
) -> Result<Size, DimensionTooLargeForSize>
[src]
size: Size,
value: u32
) -> Result<Size, DimensionTooLargeForSize>
fn try_size_set_in_place(
size: &mut Size,
value: u32
) -> Result<(), DimensionTooLargeForSize>
[src]
size: &mut Size,
value: u32
) -> Result<(), DimensionTooLargeForSize>
fn size_set(size: Size, value: u32) -> Size
[src]
fn size_set_in_place(size: &mut Size, value: u32)
[src]
fn new_size(this_axis: u32, other_axis: u32) -> Size
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,