Struct x11rb_protocol::protocol::xproto::SetupAuthenticate
source · [−]Fields
status: u8
reason: Vec<u8>
Implementations
sourceimpl SetupAuthenticate
impl SetupAuthenticate
sourcepub fn length(&self) -> u16
pub fn length(&self) -> u16
Get the value of the length
field.
The length
field is used as the length field of the reason
field.
This function computes the field’s value again based on the length of the list.
Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Trait Implementations
sourceimpl Clone for SetupAuthenticate
impl Clone for SetupAuthenticate
sourcefn clone(&self) -> SetupAuthenticate
fn clone(&self) -> SetupAuthenticate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SetupAuthenticate
impl Debug for SetupAuthenticate
sourceimpl Default for SetupAuthenticate
impl Default for SetupAuthenticate
sourcefn default() -> SetupAuthenticate
fn default() -> SetupAuthenticate
Returns the “default value” for a type. Read more
sourceimpl Hash for SetupAuthenticate
impl Hash for SetupAuthenticate
sourceimpl Ord for SetupAuthenticate
impl Ord for SetupAuthenticate
sourceimpl PartialEq<SetupAuthenticate> for SetupAuthenticate
impl PartialEq<SetupAuthenticate> for SetupAuthenticate
sourcefn eq(&self, other: &SetupAuthenticate) -> bool
fn eq(&self, other: &SetupAuthenticate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SetupAuthenticate) -> bool
fn ne(&self, other: &SetupAuthenticate) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SetupAuthenticate> for SetupAuthenticate
impl PartialOrd<SetupAuthenticate> for SetupAuthenticate
sourcefn partial_cmp(&self, other: &SetupAuthenticate) -> Option<Ordering>
fn partial_cmp(&self, other: &SetupAuthenticate) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for SetupAuthenticate
impl Serialize for SetupAuthenticate
sourceimpl TryParse for SetupAuthenticate
impl TryParse for SetupAuthenticate
impl Eq for SetupAuthenticate
impl StructuralEq for SetupAuthenticate
impl StructuralPartialEq for SetupAuthenticate
Auto Trait Implementations
impl RefUnwindSafe for SetupAuthenticate
impl Send for SetupAuthenticate
impl Sync for SetupAuthenticate
impl Unpin for SetupAuthenticate
impl UnwindSafe for SetupAuthenticate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more