pub struct ProjectionModeOptions {
pub axonometric: Option<bool>,
pub x_skew: Option<f64>,
pub y_skew: Option<f64>,
}Expand description
Settings that skew the map or draw it without perspective.
See mln_projection_mode_options in the
C API reference.
Fields§
§axonometric: Option<bool>Whether the map draws without perspective.
x_skew: Option<f64>§y_skew: Option<f64>Trait Implementations§
Source§impl Clone for ProjectionModeOptions
impl Clone for ProjectionModeOptions
Source§fn clone(&self) -> ProjectionModeOptions
fn clone(&self) -> ProjectionModeOptions
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 ProjectionModeOptions
Source§impl Debug for ProjectionModeOptions
impl Debug for ProjectionModeOptions
Source§impl Default for ProjectionModeOptions
impl Default for ProjectionModeOptions
Source§fn default() -> ProjectionModeOptions
fn default() -> ProjectionModeOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProjectionModeOptions
impl PartialEq for ProjectionModeOptions
impl StructuralPartialEq for ProjectionModeOptions
Auto Trait Implementations§
impl Freeze for ProjectionModeOptions
impl RefUnwindSafe for ProjectionModeOptions
impl Send for ProjectionModeOptions
impl Sync for ProjectionModeOptions
impl Unpin for ProjectionModeOptions
impl UnsafeUnpin for ProjectionModeOptions
impl UnwindSafe for ProjectionModeOptions
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