pub struct ListOption;Expand description
The role type for Role::ListOption, selector name option.
Trait Implementations§
Source§impl Clone for ListOption
impl Clone for ListOption
Source§fn clone(&self) -> ListOption
fn clone(&self) -> ListOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ListOption
Source§impl Debug for ListOption
impl Debug for ListOption
Source§impl Default for ListOption
impl Default for ListOption
Source§fn default() -> ListOption
fn default() -> ListOption
Returns the “default value” for a type. Read more
impl Eq for ListOption
Source§impl Hash for ListOption
impl Hash for ListOption
Source§impl PartialEq for ListOption
impl PartialEq for ListOption
Source§impl RoleKind for ListOption
impl RoleKind for ListOption
Source§impl RoleType for ListOption
impl RoleType for ListOption
Source§const ROLE_VALUE: Role = Role::ListOption
const ROLE_VALUE: Role = Role::ListOption
The runtime role this type stands for.
impl SelectableItem for ListOption
impl StructuralPartialEq for ListOption
Source§impl TryFrom<Role> for ListOption
impl TryFrom<Role> for ListOption
Source§type Error = RoleMismatch
type Error = RoleMismatch
The type returned in the event of a conversion error.
Source§fn try_from(role: Role) -> Result<ListOption, RoleMismatch>
fn try_from(role: Role) -> Result<ListOption, RoleMismatch>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ListOption
impl Freeze for ListOption
impl Move for ListOption
impl RefUnwindSafe for ListOption
impl Send for ListOption
impl Sync for ListOption
impl Unpin for ListOption
impl UnsafeUnpin for ListOption
impl UnwindSafe for ListOption
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