pub struct SizeTransform {
pub clip: bool,
pub animation: AnimationType,
}Expand description
Animates an AnimatedContent’s size from the content that leaves to
the content that comes. Compose’s SizeTransform.
Fields§
§clip: boolWhether content outside the animating size is clipped.
animation: AnimationTypeAnimation that drives the size change.
Trait Implementations§
Source§impl Clone for SizeTransform
impl Clone for SizeTransform
impl Copy for SizeTransform
Source§impl Debug for SizeTransform
impl Debug for SizeTransform
Source§impl Default for SizeTransform
impl Default for SizeTransform
Source§impl PartialEq for SizeTransform
impl PartialEq for SizeTransform
impl StructuralPartialEq for SizeTransform
Auto Trait Implementations§
impl Freeze for SizeTransform
impl RefUnwindSafe for SizeTransform
impl Send for SizeTransform
impl Sync for SizeTransform
impl Unpin for SizeTransform
impl UnsafeUnpin for SizeTransform
impl UnwindSafe for SizeTransform
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