Struct x11rb::protocol::dri2::SwapIntervalRequest[][src]

pub struct SwapIntervalRequest {
    pub drawable: Drawable,
    pub interval: u32,
}

Fields

drawable: Drawableinterval: u32

Implementations

impl SwapIntervalRequest[src]

pub fn send<Conn: ?Sized>(
    self,
    conn: &Conn
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
    Conn: RequestConnection
[src]

pub fn try_parse_request(
    header: RequestHeader,
    value: &[u8]
) -> Result<Self, ParseError>
[src]

Parse this request given its header, its body, and any fds that go along with it

Trait Implementations

impl Clone for SwapIntervalRequest[src]

impl Copy for SwapIntervalRequest[src]

impl Debug for SwapIntervalRequest[src]

impl Eq for SwapIntervalRequest[src]

impl PartialEq<SwapIntervalRequest> for SwapIntervalRequest[src]

impl Request for SwapIntervalRequest[src]

type Reply = ()

The kind of reply that this request generates.

impl StructuralEq for SwapIntervalRequest[src]

impl StructuralPartialEq for SwapIntervalRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.