pub struct Configure {
pub serial: u32,
}
Expand description
suggest a surface change
The configure event marks the end of a configure sequence. A configure
sequence is a set of one or more events configuring the state of the
xdg_surface, including the final xdg_surface.configure event.
Where applicable, xdg_surface surface roles will during a configure
sequence extend this event as a latched state sent as events before the
xdg_surface.configure event. Such events should be considered to make up
a set of atomically applied configuration states, where the
xdg_surface.configure commits the accumulated state.
Clients should arrange their surface for the new states, and then send
an ack_configure request with the serial sent in this configure event at
some point before committing the new surface.
If the client receives multiple configure events before it can respond
to one, it is free to discard all but the last event it received.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Deserialize from the given buffer. Returns deserialized message, and
number of bytes and file descriptors consumed, respectively.
This method tests for self
and other
values to be equal, and is used
by ==
.
This method tests for !=
. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
Serialize into the buffered writer. This function returns no errors,
failures in seializing are generally program errors, and triggers
panicking.
Read more
How many bytes will this message serialize to. Including the 8 byte
header.
How many file descriptors will this message serialize to.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Checks if this value is equivalent to the given key.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.