pub struct BuffersFromPixmapReply {
pub sequence: u16,
pub length: u32,
pub width: u16,
pub height: u16,
pub modifier: u64,
pub depth: u8,
pub bpp: u8,
pub strides: Vec<u32, Global>,
pub offsets: Vec<u32, Global>,
pub buffers: Vec<RawFdContainer, Global>,
}
Fields
sequence: u16
length: u32
width: u16
height: u16
modifier: u64
depth: u8
bpp: u8
strides: Vec<u32, Global>
offsets: Vec<u32, Global>
buffers: Vec<RawFdContainer, Global>
Implementations
sourceimpl BuffersFromPixmapReply
impl BuffersFromPixmapReply
sourcepub fn nfd(&self) -> u8
pub fn nfd(&self) -> u8
Get the value of the nfd
field.
The nfd
field is used as the length field of the strides
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 Debug for BuffersFromPixmapReply
impl Debug for BuffersFromPixmapReply
sourceimpl From<BuffersFromPixmapReply> for Reply
impl From<BuffersFromPixmapReply> for Reply
sourcefn from(reply: BuffersFromPixmapReply) -> Reply
fn from(reply: BuffersFromPixmapReply) -> Reply
Converts to this type from the input type.
sourceimpl PartialEq<BuffersFromPixmapReply> for BuffersFromPixmapReply
impl PartialEq<BuffersFromPixmapReply> for BuffersFromPixmapReply
sourcefn eq(&self, other: &BuffersFromPixmapReply) -> bool
fn eq(&self, other: &BuffersFromPixmapReply) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BuffersFromPixmapReply) -> bool
fn ne(&self, other: &BuffersFromPixmapReply) -> bool
This method tests for !=
.
sourceimpl TryParseFd for BuffersFromPixmapReply
impl TryParseFd for BuffersFromPixmapReply
sourcefn try_parse_fd(
initial_value: &'a [u8],
fds: &mut Vec<RawFdContainer, Global>
) -> Result<(BuffersFromPixmapReply, &'a [u8]), ParseError>
fn try_parse_fd(
initial_value: &'a [u8],
fds: &mut Vec<RawFdContainer, Global>
) -> Result<(BuffersFromPixmapReply, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Eq for BuffersFromPixmapReply
impl StructuralEq for BuffersFromPixmapReply
impl StructuralPartialEq for BuffersFromPixmapReply
Auto Trait Implementations
impl RefUnwindSafe for BuffersFromPixmapReply
impl Send for BuffersFromPixmapReply
impl Sync for BuffersFromPixmapReply
impl Unpin for BuffersFromPixmapReply
impl UnwindSafe for BuffersFromPixmapReply
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more