pub enum ScaleHint {
X(f64),
Y(f64),
Z(f64),
PorportionalX(f64),
PorportionalY(f64),
PorportionalZ(f64),
}Expand description
A hint for scaling the mobject.
Variants§
X(f64)
Scale the mobject’s X axe
Y(f64)
Scale the mobject’s Y axe
Z(f64)
Scale the mobject’s Z axe
PorportionalX(f64)
Scale the mobject’s X axe, while other axes are scaled accordingly.
PorportionalY(f64)
Scale the mobject’s Y axe, while other axes are scaled accordingly.
PorportionalZ(f64)
Scale the mobject’s Z axe, while other axes are scaled accordingly.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScaleHint
impl RefUnwindSafe for ScaleHint
impl Send for ScaleHint
impl Sync for ScaleHint
impl Unpin for ScaleHint
impl UnsafeUnpin for ScaleHint
impl UnwindSafe for ScaleHint
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> StaticAnim for Twhere
T: StaticAnimRequirement + 'static,
impl<T> StaticAnim for Twhere
T: StaticAnimRequirement + 'static,
Source§fn show(&self) -> AnimationCell<T>
fn show(&self) -> AnimationCell<T>
Show the item
Source§fn hide(&self) -> AnimationCell<T>
fn hide(&self) -> AnimationCell<T>
Hide the item