Struct wayland_protocols::wp::fullscreen_shell::zv1::server::zwp_fullscreen_shell_mode_feedback_v1::ZwpFullscreenShellModeFeedbackV1
source · pub struct ZwpFullscreenShellModeFeedbackV1 { /* private fields */ }
Expand description
zwp_fullscreen_shell_mode_feedback_v1
This interface has no requests.
Implementations§
source§impl ZwpFullscreenShellModeFeedbackV1
impl ZwpFullscreenShellModeFeedbackV1
sourcepub fn mode_successful(&self)
pub fn mode_successful(&self)
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.
sourcepub fn mode_failed(&self)
pub fn mode_failed(&self)
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.
sourcepub fn present_cancelled(&self)
pub fn present_cancelled(&self)
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§
source§impl Clone for ZwpFullscreenShellModeFeedbackV1
impl Clone for ZwpFullscreenShellModeFeedbackV1
source§fn clone(&self) -> ZwpFullscreenShellModeFeedbackV1
fn clone(&self) -> ZwpFullscreenShellModeFeedbackV1
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<Weak<ZwpFullscreenShellModeFeedbackV1>> for ZwpFullscreenShellModeFeedbackV1
impl PartialEq<Weak<ZwpFullscreenShellModeFeedbackV1>> for ZwpFullscreenShellModeFeedbackV1
source§impl PartialEq for ZwpFullscreenShellModeFeedbackV1
impl PartialEq for ZwpFullscreenShellModeFeedbackV1
source§fn eq(&self, other: &ZwpFullscreenShellModeFeedbackV1) -> bool
fn eq(&self, other: &ZwpFullscreenShellModeFeedbackV1) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Resource for ZwpFullscreenShellModeFeedbackV1
impl Resource for ZwpFullscreenShellModeFeedbackV1
source§fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
source§fn handle(&self) -> &WeakHandle
fn handle(&self) -> &WeakHandle
source§fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
source§fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
source§fn parse_request(
conn: &DisplayHandle,
msg: Message<ObjectId, OwnedFd>
) -> Result<(Self, Self::Request), DispatchError>
fn parse_request( conn: &DisplayHandle, msg: Message<ObjectId, OwnedFd> ) -> Result<(Self, Self::Request), DispatchError>
source§fn write_event<'a>(
&self,
conn: &DisplayHandle,
msg: Self::Event<'a>
) -> Result<Message<ObjectId, BorrowedFd<'a>>, InvalidId>
fn write_event<'a>( &self, conn: &DisplayHandle, msg: Self::Event<'a> ) -> Result<Message<ObjectId, BorrowedFd<'a>>, InvalidId>
source§fn is_alive(&self) -> bool
fn is_alive(&self) -> bool
impl Eq for ZwpFullscreenShellModeFeedbackV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZwpFullscreenShellModeFeedbackV1
impl Send for ZwpFullscreenShellModeFeedbackV1
impl Sync for ZwpFullscreenShellModeFeedbackV1
impl Unpin for ZwpFullscreenShellModeFeedbackV1
impl !UnwindSafe for ZwpFullscreenShellModeFeedbackV1
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.