pub struct On(/* private fields */);Expand description
Where a context action is offered in the client’s interface.
A bit set rather than an enum: one action may be offered in several places at once, which is exactly what the client’s three menus do with it.
REF: references/vendored/Mumble.proto : ContextActionModify.Context,
Server = 0x01, Channel = 0x02, User = 0x04.
REF: references/mumble/src/mumble/Messages.cpp : msgContextActionModify
appends the same action to qlServerActions, qlUserActions and
qlChannelActions, one per bit set.
Implementations§
Trait Implementations§
Source§impl Ord for On
impl Ord for On
Source§impl PartialOrd for On
impl PartialOrd for On
impl Copy for On
impl Eq for On
impl StructuralPartialEq for On
Auto Trait Implementations§
impl Freeze for On
impl RefUnwindSafe for On
impl Send for On
impl Sync for On
impl Unpin for On
impl UnwindSafe for On
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