pub struct TPM(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
TrackPopupMenu
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl TPM
impl TPM
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl TPM
impl TPM
pub const LEFTBUTTON: Self = _
pub const RIGHTBUTTON: Self = _
pub const LEFTALIGN: Self = _
pub const CENTERALIGN: Self = _
pub const RIGHTALIGN: Self = _
pub const TOPALIGN: Self = _
pub const VCENTERALIGN: Self = _
pub const BOTTOMALIGN: Self = _
pub const HORIZONTAL: Self = _
pub const VERTICAL: Self = _
pub const NONOTIFY: Self = _
pub const RETURNCMD: Self = _
pub const RECURSE: Self = _
pub const HORPOSANIMATION: Self = _
pub const HORNEGANIMATION: Self = _
pub const VERPOSANIMATION: Self = _
pub const VERNEGANIMATION: Self = _
pub const NOANIMATION: Self = _
pub const LAYOUTRTL: Self = _
pub const WORKAREA: Self = _
Trait Implementations§
source§impl BitAndAssign for TPM
impl BitAndAssign for TPM
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for TPM
impl BitOrAssign for TPM
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for TPM
impl BitXorAssign for TPM
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for TPM
impl IntUnderlying for TPM
source§impl NativeBitflag for TPM
impl NativeBitflag for TPM
impl Copy for TPM
impl Eq for TPM
impl NativeConst for TPM
impl Send for TPM
impl StructuralPartialEq for TPM
Auto Trait Implementations§
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