Struct wayland_protocols::unstable::xdg_output::v1::client::zxdg_output_manager_v1::ZxdgOutputManagerV1
source · [−]pub struct ZxdgOutputManagerV1(_);
Implementations
sourceimpl ZxdgOutputManagerV1
impl ZxdgOutputManagerV1
sourcepub fn destroy(&self)
pub fn destroy(&self)
destroy the xdg_output_manager object
Using this request a client can tell the server that it is not going to use the xdg_output_manager object anymore.
Any objects already created through this instance are not affected.
This is a destructor, you cannot send requests to this object any longer once this method is called.
sourcepub fn get_xdg_output(&self, output: &WlOutput) -> Main<ZxdgOutputV1>
pub fn get_xdg_output(&self, output: &WlOutput) -> Main<ZxdgOutputV1>
create an xdg output from a wl_output
This creates a new xdg_output object for the given wl_output.
Trait Implementations
sourceimpl AsRef<Proxy<ZxdgOutputManagerV1>> for ZxdgOutputManagerV1
impl AsRef<Proxy<ZxdgOutputManagerV1>> for ZxdgOutputManagerV1
sourceimpl Clone for ZxdgOutputManagerV1
impl Clone for ZxdgOutputManagerV1
sourcefn clone(&self) -> ZxdgOutputManagerV1
fn clone(&self) -> ZxdgOutputManagerV1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ZxdgOutputManagerV1
impl Debug for ZxdgOutputManagerV1
sourceimpl From<Proxy<ZxdgOutputManagerV1>> for ZxdgOutputManagerV1
impl From<Proxy<ZxdgOutputManagerV1>> for ZxdgOutputManagerV1
sourceimpl From<ZxdgOutputManagerV1> for Proxy<ZxdgOutputManagerV1>
impl From<ZxdgOutputManagerV1> for Proxy<ZxdgOutputManagerV1>
sourcefn from(value: ZxdgOutputManagerV1) -> Self
fn from(value: ZxdgOutputManagerV1) -> Self
Converts to this type from the input type.
sourceimpl Interface for ZxdgOutputManagerV1
impl Interface for ZxdgOutputManagerV1
sourcefn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
sourceimpl PartialEq<ZxdgOutputManagerV1> for ZxdgOutputManagerV1
impl PartialEq<ZxdgOutputManagerV1> for ZxdgOutputManagerV1
sourcefn eq(&self, other: &ZxdgOutputManagerV1) -> bool
fn eq(&self, other: &ZxdgOutputManagerV1) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ZxdgOutputManagerV1
impl StructuralEq for ZxdgOutputManagerV1
impl StructuralPartialEq for ZxdgOutputManagerV1
Auto Trait Implementations
impl !RefUnwindSafe for ZxdgOutputManagerV1
impl Send for ZxdgOutputManagerV1
impl Sync for ZxdgOutputManagerV1
impl Unpin for ZxdgOutputManagerV1
impl !UnwindSafe for ZxdgOutputManagerV1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert 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
. Read more
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more