Struct x11rb::protocol::xproto::AccessControl
source · pub struct AccessControl(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl AccessControl
impl AccessControl
pub const DISABLE: AccessControl = _
pub const ENABLE: AccessControl = _
Trait Implementations§
source§impl Clone for AccessControl
impl Clone for AccessControl
source§fn clone(&self) -> AccessControl
fn clone(&self) -> AccessControl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccessControl
impl Debug for AccessControl
source§impl Default for AccessControl
impl Default for AccessControl
source§fn default() -> AccessControl
fn default() -> AccessControl
Returns the “default value” for a type. Read more
source§impl From<u8> for AccessControl
impl From<u8> for AccessControl
source§fn from(value: u8) -> AccessControl
fn from(value: u8) -> AccessControl
Converts to this type from the input type.
source§impl Hash for AccessControl
impl Hash for AccessControl
source§impl Ord for AccessControl
impl Ord for AccessControl
source§fn cmp(&self, other: &AccessControl) -> Ordering
fn cmp(&self, other: &AccessControl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AccessControl
impl PartialEq for AccessControl
source§impl PartialOrd for AccessControl
impl PartialOrd for AccessControl
impl Copy for AccessControl
impl Eq for AccessControl
impl StructuralPartialEq for AccessControl
Auto Trait Implementations§
impl Freeze for AccessControl
impl RefUnwindSafe for AccessControl
impl Send for AccessControl
impl Sync for AccessControl
impl Unpin for AccessControl
impl UnwindSafe for AccessControl
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)