pub enum SelectionToolbarPolicy {
Framework,
Native,
}Expand description
Who draws the selection toolbar.
Variants§
Framework
The framework draws it: the field floats a toolbar pod through the
overlay portal (crate::overlay). The default, and the only route on a
platform with no system edit menu.
Native
The platform draws it: the field publishes the request and nothing else, and the shell presents the host’s own menu.
Trait Implementations§
Source§impl Clone for SelectionToolbarPolicy
impl Clone for SelectionToolbarPolicy
impl Copy for SelectionToolbarPolicy
Source§impl Debug for SelectionToolbarPolicy
impl Debug for SelectionToolbarPolicy
Source§impl Default for SelectionToolbarPolicy
impl Default for SelectionToolbarPolicy
impl Eq for SelectionToolbarPolicy
Source§impl Hash for SelectionToolbarPolicy
impl Hash for SelectionToolbarPolicy
Source§impl PartialEq for SelectionToolbarPolicy
impl PartialEq for SelectionToolbarPolicy
impl StructuralPartialEq for SelectionToolbarPolicy
Auto Trait Implementations§
impl Freeze for SelectionToolbarPolicy
impl RefUnwindSafe for SelectionToolbarPolicy
impl Send for SelectionToolbarPolicy
impl Sync for SelectionToolbarPolicy
impl Unpin for SelectionToolbarPolicy
impl UnsafeUnpin for SelectionToolbarPolicy
impl UnwindSafe for SelectionToolbarPolicy
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.