pub struct ConversionContext {
pub length: LengthContext,
}Fields§
§length: LengthContextImplementations§
Source§impl ConversionContext
impl ConversionContext
pub fn for_viewport(viewport_width: f32, viewport_height: f32) -> Self
Trait Implementations§
Source§impl Clone for ConversionContext
impl Clone for ConversionContext
impl Copy for ConversionContext
Source§impl Debug for ConversionContext
impl Debug for ConversionContext
Auto Trait Implementations§
impl Freeze for ConversionContext
impl RefUnwindSafe for ConversionContext
impl Send for ConversionContext
impl Sync for ConversionContext
impl Unpin for ConversionContext
impl UnsafeUnpin for ConversionContext
impl UnwindSafe for ConversionContext
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