pub struct WlFullscreenShellModeFeedback { /* private fields */ }
Expand description
_wl_fullscreen_shell_mode_feedback
This interface has no requests.
Implementations§
Source§impl WlFullscreenShellModeFeedback
impl WlFullscreenShellModeFeedback
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 WlFullscreenShellModeFeedback
impl Clone for WlFullscreenShellModeFeedback
Source§fn clone(&self) -> WlFullscreenShellModeFeedback
fn clone(&self) -> WlFullscreenShellModeFeedback
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Hash for WlFullscreenShellModeFeedback
impl Hash for WlFullscreenShellModeFeedback
Source§impl PartialEq<Weak<WlFullscreenShellModeFeedback>> for WlFullscreenShellModeFeedback
impl PartialEq<Weak<WlFullscreenShellModeFeedback>> for WlFullscreenShellModeFeedback
Source§impl PartialEq for WlFullscreenShellModeFeedback
impl PartialEq for WlFullscreenShellModeFeedback
Source§fn eq(&self, other: &WlFullscreenShellModeFeedback) -> bool
fn eq(&self, other: &WlFullscreenShellModeFeedback) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl Resource for WlFullscreenShellModeFeedback
impl Resource for WlFullscreenShellModeFeedback
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 WlFullscreenShellModeFeedback
Auto Trait Implementations§
impl Freeze for WlFullscreenShellModeFeedback
impl !RefUnwindSafe for WlFullscreenShellModeFeedback
impl Send for WlFullscreenShellModeFeedback
impl Sync for WlFullscreenShellModeFeedback
impl Unpin for WlFullscreenShellModeFeedback
impl !UnwindSafe for WlFullscreenShellModeFeedback
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.