pub unsafe trait UIContextMenuInteractionCommitAnimating: UIContextMenuInteractionAnimating + MainThreadOnly {
// Provided methods
fn preferredCommitStyle(&self) -> UIContextMenuInteractionCommitStyle
where Self: Sized + Message { ... }
fn setPreferredCommitStyle(
&self,
preferred_commit_style: UIContextMenuInteractionCommitStyle,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIContextMenuInteraction only.Expand description
Provided Methods§
Sourcefn preferredCommitStyle(&self) -> UIContextMenuInteractionCommitStyle
fn preferredCommitStyle(&self) -> UIContextMenuInteractionCommitStyle
Preferred animation style for the menu’s commit action. Triggered when the user taps the preview.
Sourcefn setPreferredCommitStyle(
&self,
preferred_commit_style: UIContextMenuInteractionCommitStyle,
)
fn setPreferredCommitStyle( &self, preferred_commit_style: UIContextMenuInteractionCommitStyle, )
Setter for preferredCommitStyle.