[−][src]Struct wayland_protocols::wlr::unstable::foreign_toplevel::v1::server::zwlr_foreign_toplevel_handle_v1::ZwlrForeignToplevelHandleV1
Implementations
impl ZwlrForeignToplevelHandleV1
[src]
pub fn title(&self, title: String)
[src]
title change
This event is emitted whenever the title of the toplevel changes.
pub fn app_id(&self, app_id: String)
[src]
app-id change
This event is emitted whenever the app-id of the toplevel changes.
pub fn output_enter(&self, output: &WlOutput)
[src]
toplevel entered an output
This event is emitted whenever the toplevel becomes visible on the given output. A toplevel may be visible on multiple outputs.
pub fn output_leave(&self, output: &WlOutput)
[src]
toplevel left an output
This event is emitted whenever the toplevel stops being visible on the given output. It is guaranteed that an entered-output event with the same output has been emitted before this event.
pub fn state(&self, state: Vec<u8>)
[src]
the toplevel state changed
This event is emitted immediately after the zlw_foreign_toplevel_handle_v1 is created and each time the toplevel state changes, either because of a compositor action or because of a request in this protocol.
pub fn done(&self)
[src]
all information about the toplevel has been sent
This event is sent after all changes in the toplevel state have been sent.
This allows changes to the zwlr_foreign_toplevel_handle_v1 properties to be seen as atomic, even if they happen via multiple events.
pub fn closed(&self)
[src]
this toplevel has been destroyed
This event means the toplevel has been destroyed. It is guaranteed there won't be any more events for this zwlr_foreign_toplevel_handle_v1. The toplevel itself becomes inert so any requests will be ignored except the destroy request.
Trait Implementations
impl AsRef<Resource<ZwlrForeignToplevelHandleV1>> for ZwlrForeignToplevelHandleV1
[src]
impl Clone for ZwlrForeignToplevelHandleV1
[src]
fn clone(&self) -> ZwlrForeignToplevelHandleV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZwlrForeignToplevelHandleV1
[src]
impl Eq for ZwlrForeignToplevelHandleV1
[src]
impl From<Resource<ZwlrForeignToplevelHandleV1>> for ZwlrForeignToplevelHandleV1
[src]
impl From<ZwlrForeignToplevelHandleV1> for Resource<ZwlrForeignToplevelHandleV1>
[src]
fn from(value: ZwlrForeignToplevelHandleV1) -> Self
[src]
impl Interface for ZwlrForeignToplevelHandleV1
[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
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwlrForeignToplevelHandleV1> for ZwlrForeignToplevelHandleV1
[src]
fn eq(&self, other: &ZwlrForeignToplevelHandleV1) -> bool
[src]
fn ne(&self, other: &ZwlrForeignToplevelHandleV1) -> bool
[src]
impl StructuralEq for ZwlrForeignToplevelHandleV1
[src]
impl StructuralPartialEq for ZwlrForeignToplevelHandleV1
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwlrForeignToplevelHandleV1
impl Send for ZwlrForeignToplevelHandleV1
impl Sync for ZwlrForeignToplevelHandleV1
impl Unpin for ZwlrForeignToplevelHandleV1
impl !UnwindSafe for ZwlrForeignToplevelHandleV1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,