Struct x11rb_protocol::protocol::xv::StopVideoRequest
source · pub struct StopVideoRequest {
pub port: Port,
pub drawable: Drawable,
}
Fields§
§port: Port
§drawable: Drawable
Implementations§
source§impl StopVideoRequest
impl StopVideoRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8] ) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations§
source§impl Clone for StopVideoRequest
impl Clone for StopVideoRequest
source§fn clone(&self) -> StopVideoRequest
fn clone(&self) -> StopVideoRequest
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 StopVideoRequest
impl Debug for StopVideoRequest
source§impl Default for StopVideoRequest
impl Default for StopVideoRequest
source§fn default() -> StopVideoRequest
fn default() -> StopVideoRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StopVideoRequest
impl<'de> Deserialize<'de> for StopVideoRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for StopVideoRequest
impl Hash for StopVideoRequest
source§impl Ord for StopVideoRequest
impl Ord for StopVideoRequest
source§fn cmp(&self, other: &StopVideoRequest) -> Ordering
fn cmp(&self, other: &StopVideoRequest) -> 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 StopVideoRequest
impl PartialEq for StopVideoRequest
source§fn eq(&self, other: &StopVideoRequest) -> bool
fn eq(&self, other: &StopVideoRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StopVideoRequest
impl PartialOrd for StopVideoRequest
source§fn partial_cmp(&self, other: &StopVideoRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &StopVideoRequest) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Request for StopVideoRequest
impl Request for StopVideoRequest
source§impl Serialize for StopVideoRequest
impl Serialize for StopVideoRequest
impl Copy for StopVideoRequest
impl Eq for StopVideoRequest
impl StructuralPartialEq for StopVideoRequest
impl VoidRequest for StopVideoRequest
Auto Trait Implementations§
impl Freeze for StopVideoRequest
impl RefUnwindSafe for StopVideoRequest
impl Send for StopVideoRequest
impl Sync for StopVideoRequest
impl Unpin for StopVideoRequest
impl UnwindSafe for StopVideoRequest
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