Struct x11rb_protocol::protocol::xproto::RotatePropertiesRequest
source · [−]pub struct RotatePropertiesRequest<'input> {
pub window: Window,
pub delta: i16,
pub atoms: Cow<'input, [Atom]>,
}
Fields
window: Window
delta: i16
atoms: Cow<'input, [Atom]>
Implementations
sourceimpl<'input> RotatePropertiesRequest<'input>
impl<'input> RotatePropertiesRequest<'input>
sourcepub fn serialize(self) -> BufWithFds<PiecewiseBuf<'input>>
pub fn serialize(self) -> BufWithFds<PiecewiseBuf<'input>>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
sourcepub fn into_owned(self) -> RotatePropertiesRequest<'static>
pub fn into_owned(self) -> RotatePropertiesRequest<'static>
Clone all borrowed data in this RotatePropertiesRequest.
Trait Implementations
sourceimpl<'input> Clone for RotatePropertiesRequest<'input>
impl<'input> Clone for RotatePropertiesRequest<'input>
sourcefn clone(&self) -> RotatePropertiesRequest<'input>
fn clone(&self) -> RotatePropertiesRequest<'input>
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<'input> Debug for RotatePropertiesRequest<'input>
impl<'input> Debug for RotatePropertiesRequest<'input>
sourceimpl<'input> Default for RotatePropertiesRequest<'input>
impl<'input> Default for RotatePropertiesRequest<'input>
sourcefn default() -> RotatePropertiesRequest<'input>
fn default() -> RotatePropertiesRequest<'input>
Returns the “default value” for a type. Read more
sourceimpl<'input> Hash for RotatePropertiesRequest<'input>
impl<'input> Hash for RotatePropertiesRequest<'input>
sourceimpl<'input> Ord for RotatePropertiesRequest<'input>
impl<'input> Ord for RotatePropertiesRequest<'input>
sourceimpl<'input> PartialEq<RotatePropertiesRequest<'input>> for RotatePropertiesRequest<'input>
impl<'input> PartialEq<RotatePropertiesRequest<'input>> for RotatePropertiesRequest<'input>
sourcefn eq(&self, other: &RotatePropertiesRequest<'input>) -> bool
fn eq(&self, other: &RotatePropertiesRequest<'input>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RotatePropertiesRequest<'input>) -> bool
fn ne(&self, other: &RotatePropertiesRequest<'input>) -> bool
This method tests for !=
.
sourceimpl<'input> PartialOrd<RotatePropertiesRequest<'input>> for RotatePropertiesRequest<'input>
impl<'input> PartialOrd<RotatePropertiesRequest<'input>> for RotatePropertiesRequest<'input>
sourcefn partial_cmp(
&self,
other: &RotatePropertiesRequest<'input>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &RotatePropertiesRequest<'input>
) -> 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<'input> Request for RotatePropertiesRequest<'input>
impl<'input> Request for RotatePropertiesRequest<'input>
impl<'input> Eq for RotatePropertiesRequest<'input>
impl<'input> StructuralEq for RotatePropertiesRequest<'input>
impl<'input> StructuralPartialEq for RotatePropertiesRequest<'input>
impl<'input> VoidRequest for RotatePropertiesRequest<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for RotatePropertiesRequest<'input>
impl<'input> Send for RotatePropertiesRequest<'input>
impl<'input> Sync for RotatePropertiesRequest<'input>
impl<'input> Unpin for RotatePropertiesRequest<'input>
impl<'input> UnwindSafe for RotatePropertiesRequest<'input>
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