[][src]Struct wayland_protocols::unstable::fullscreen_shell::v1::server::zwp_fullscreen_shell_mode_feedback_v1::ZwpFullscreenShellModeFeedbackV1

pub struct ZwpFullscreenShellModeFeedbackV1(_);

Implementations

impl ZwpFullscreenShellModeFeedbackV1[src]

pub fn mode_successful(&self)[src]

mode switch succeeded

This event indicates that the attempted mode switch operation was successful. A surface of the size requested in the mode switch will fill the output without scaling.

Upon receiving this event, the client should destroy the wl_fullscreen_shell_mode_feedback object.

pub fn mode_failed(&self)[src]

mode switch failed

This event indicates that the attempted mode switch operation failed. This may be because the requested output mode is not possible or it may mean that the compositor does not want to allow it.

Upon receiving this event, the client should destroy the wl_fullscreen_shell_mode_feedback object.

pub fn present_cancelled(&self)[src]

mode switch cancelled

This event indicates that the attempted mode switch operation was cancelled. Most likely this is because the client requested a second mode switch before the first one completed.

Upon receiving this event, the client should destroy the wl_fullscreen_shell_mode_feedback object.

Trait Implementations

impl AsRef<Resource<ZwpFullscreenShellModeFeedbackV1>> for ZwpFullscreenShellModeFeedbackV1[src]

impl Clone for ZwpFullscreenShellModeFeedbackV1[src]

impl Debug for ZwpFullscreenShellModeFeedbackV1[src]

impl Eq for ZwpFullscreenShellModeFeedbackV1[src]

impl From<Resource<ZwpFullscreenShellModeFeedbackV1>> for ZwpFullscreenShellModeFeedbackV1[src]

impl From<ZwpFullscreenShellModeFeedbackV1> for Resource<ZwpFullscreenShellModeFeedbackV1>[src]

impl Interface for ZwpFullscreenShellModeFeedbackV1[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

impl PartialEq<ZwpFullscreenShellModeFeedbackV1> for ZwpFullscreenShellModeFeedbackV1[src]

impl StructuralEq for ZwpFullscreenShellModeFeedbackV1[src]

impl StructuralPartialEq for ZwpFullscreenShellModeFeedbackV1[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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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.