pub struct MotionProps(/* private fields */);Implementations§
Source§impl MotionProps
impl MotionProps
pub const NONE: Self
pub const X: Self
pub const Y: Self
pub const WIDTH: Self
pub const HEIGHT: Self
pub const RESIZE: Self
pub const POSITION: Self
pub const SIZE: Self
pub const LAYOUT: Self
pub const fn intersects(self, other: Self) -> bool
pub const fn intersection(self, other: Self) -> Self
pub const fn is_empty(self) -> bool
Trait Implementations§
Source§impl BitOr for MotionProps
impl BitOr for MotionProps
Source§impl BitOrAssign for MotionProps
impl BitOrAssign for MotionProps
Source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read moreSource§impl Clone for MotionProps
impl Clone for MotionProps
impl Copy for MotionProps
Source§impl Debug for MotionProps
impl Debug for MotionProps
Source§impl Default for MotionProps
impl Default for MotionProps
impl Eq for MotionProps
Source§impl PartialEq for MotionProps
impl PartialEq for MotionProps
impl StructuralPartialEq for MotionProps
Auto Trait Implementations§
impl Forget for MotionProps
impl Freeze for MotionProps
impl Move for MotionProps
impl RefUnwindSafe for MotionProps
impl Send for MotionProps
impl Sync for MotionProps
impl Unpin for MotionProps
impl UnsafeUnpin for MotionProps
impl UnwindSafe for MotionProps
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