pub struct RenderResolution {
pub linear: Scalar,
}
Expand description
Render resolution when rendering things to polygons or meshes.
Fields§
§linear: Scalar
Linear resolution in millimeters (Default = 0.1mm)
Implementations§
Trait Implementations§
Source§impl Clone for RenderResolution
impl Clone for RenderResolution
Source§fn clone(&self) -> RenderResolution
fn clone(&self) -> RenderResolution
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RenderResolution
impl Debug for RenderResolution
Source§impl Default for RenderResolution
impl Default for RenderResolution
Source§impl Display for RenderResolution
impl Display for RenderResolution
Auto Trait Implementations§
impl Freeze for RenderResolution
impl RefUnwindSafe for RenderResolution
impl Send for RenderResolution
impl Sync for RenderResolution
impl Unpin for RenderResolution
impl UnwindSafe for RenderResolution
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