#[non_exhaustive]pub enum ContactPhase {
Begin,
Persist,
End,
}Expand description
Whether a Contact is appearing, persisting, or disappearing this step. 该 Contact 本步是正在出现、持续存在,还是正在消失。
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Begin
The pair touched this step and did not touch last step. 本步相碰,上一步未相碰。
Persist
The pair touched last step and still touches. 上一步相碰,本步仍相碰。
End
The pair touched last step and does not touch now. 上一步相碰,本步不再相碰。
Trait Implementations§
Source§impl Clone for ContactPhase
impl Clone for ContactPhase
impl Copy for ContactPhase
Source§impl Debug for ContactPhase
impl Debug for ContactPhase
impl Eq for ContactPhase
Source§impl PartialEq for ContactPhase
impl PartialEq for ContactPhase
impl StructuralPartialEq for ContactPhase
Auto Trait Implementations§
impl Freeze for ContactPhase
impl RefUnwindSafe for ContactPhase
impl Send for ContactPhase
impl Sync for ContactPhase
impl Unpin for ContactPhase
impl UnsafeUnpin for ContactPhase
impl UnwindSafe for ContactPhase
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