pub struct ProjectionMode {
pub axonometric: bool,
pub x_skew: f64,
pub y_skew: f64,
}Expand description
A map’s whole projection mode.
Its members mean the same as those of ProjectionModeOptions.
See mln_projection_mode in the
C API reference.
Fields§
§axonometric: bool§x_skew: f64§y_skew: f64Implementations§
Trait Implementations§
Source§impl Clone for ProjectionMode
impl Clone for ProjectionMode
Source§fn clone(&self) -> ProjectionMode
fn clone(&self) -> ProjectionMode
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 ProjectionMode
Source§impl Debug for ProjectionMode
impl Debug for ProjectionMode
Source§impl Default for ProjectionMode
impl Default for ProjectionMode
Source§fn default() -> ProjectionMode
fn default() -> ProjectionMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProjectionMode
impl PartialEq for ProjectionMode
impl StructuralPartialEq for ProjectionMode
Auto Trait Implementations§
impl Freeze for ProjectionMode
impl RefUnwindSafe for ProjectionMode
impl Send for ProjectionMode
impl Sync for ProjectionMode
impl Unpin for ProjectionMode
impl UnsafeUnpin for ProjectionMode
impl UnwindSafe for ProjectionMode
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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