pub struct ObjectCore { /* private fields */ }Expand description
Core data structure shared by all objects.
This can be accessed via Object::core.
Trait Implementations§
Source§impl Drop for ObjectCore
impl Drop for ObjectCore
Source§impl ObjectCoreApi for ObjectCore
impl ObjectCoreApi for ObjectCore
Source§fn client(&self) -> Option<Rc<Client>>
fn client(&self) -> Option<Rc<Client>>
Returns the
Client associated with this object, if any.Source§fn interface(&self) -> ObjectInterface
fn interface(&self) -> ObjectInterface
Returns the
ObjectInterface of this object.Source§fn try_delete_id(&self) -> Result<(), ObjectError>
fn try_delete_id(&self) -> Result<(), ObjectError>
Tries to send a wl_display.delete_id event for this object. Read more
Source§fn set_forward_to_client(&self, enabled: bool)
fn set_forward_to_client(&self, enabled: bool)
Enables or disables automatic forwarding of events to the client. Read more
Source§fn set_forward_to_server(&self, enabled: bool)
fn set_forward_to_server(&self, enabled: bool)
Enables or disables automatic forwarding of requests to the server. Read more
Auto Trait Implementations§
impl !Freeze for ObjectCore
impl !RefUnwindSafe for ObjectCore
impl !Send for ObjectCore
impl !Sync for ObjectCore
impl Unpin for ObjectCore
impl !UnwindSafe for ObjectCore
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
Mutably borrows from an owned value. Read more