pub struct SessionLockState { /* private fields */ }
Trait Implementations§
Source§impl Dispatch<ExtSessionLockManagerV1, ()> for SessionLockState
impl Dispatch<ExtSessionLockManagerV1, ()> for SessionLockState
Source§fn event(
_: &mut Self,
_: &ExtSessionLockManagerV1,
event: <ExtSessionLockManagerV1 as Proxy>::Event,
_: &(),
_: &Connection,
_: &QueueHandle<Self>,
)
fn event( _: &mut Self, _: &ExtSessionLockManagerV1, event: <ExtSessionLockManagerV1 as Proxy>::Event, _: &(), _: &Connection, _: &QueueHandle<Self>, )
Called when an event from the server is processed Read more
Source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
Source§impl Dispatch<ExtSessionLockSurfaceV1, ()> for SessionLockState
impl Dispatch<ExtSessionLockSurfaceV1, ()> for SessionLockState
Source§fn event(
state: &mut Self,
surface: &ExtSessionLockSurfaceV1,
event: <ExtSessionLockSurfaceV1 as Proxy>::Event,
_: &(),
_: &Connection,
_: &QueueHandle<Self>,
)
fn event( state: &mut Self, surface: &ExtSessionLockSurfaceV1, event: <ExtSessionLockSurfaceV1 as Proxy>::Event, _: &(), _: &Connection, _: &QueueHandle<Self>, )
Called when an event from the server is processed Read more
Source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
Source§impl Dispatch<ExtSessionLockV1, ()> for SessionLockState
impl Dispatch<ExtSessionLockV1, ()> for SessionLockState
Source§fn event(
state: &mut Self,
_: &ExtSessionLockV1,
event: <ExtSessionLockV1 as Proxy>::Event,
_: &(),
_: &Connection,
_: &QueueHandle<Self>,
)
fn event( state: &mut Self, _: &ExtSessionLockV1, event: <ExtSessionLockV1 as Proxy>::Event, _: &(), _: &Connection, _: &QueueHandle<Self>, )
Called when an event from the server is processed Read more
Source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
Source§impl Dispatch<WlCompositor, ()> for SessionLockState
impl Dispatch<WlCompositor, ()> for SessionLockState
Source§fn event(
state: &mut Self,
compositor: &WlCompositor,
event: Event,
_: &(),
_: &Connection,
_: &QueueHandle<SessionLockState>,
)
fn event( state: &mut Self, compositor: &WlCompositor, event: Event, _: &(), _: &Connection, _: &QueueHandle<SessionLockState>, )
Called when an event from the server is processed Read more
Source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
Source§impl Dispatch<WlOutput, ()> for SessionLockState
impl Dispatch<WlOutput, ()> for SessionLockState
Source§fn event(
state: &mut Self,
output: &WlOutput,
event: Event,
_: &(),
_: &Connection,
_: &QueueHandle<SessionLockState>,
)
fn event( state: &mut Self, output: &WlOutput, event: Event, _: &(), _: &Connection, _: &QueueHandle<SessionLockState>, )
Called when an event from the server is processed Read more
Source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
Source§impl Dispatch<WlRegistry, GlobalListContents> for SessionLockState
impl Dispatch<WlRegistry, GlobalListContents> for SessionLockState
Source§fn event(
_: &mut Self,
registry: &WlRegistry,
event: Event,
_: &GlobalListContents,
_: &Connection,
qh: &QueueHandle<SessionLockState>,
)
fn event( _: &mut Self, registry: &WlRegistry, event: Event, _: &GlobalListContents, _: &Connection, qh: &QueueHandle<SessionLockState>, )
Called when an event from the server is processed Read more
Source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
Source§impl Dispatch<WlSeat, ()> for SessionLockState
impl Dispatch<WlSeat, ()> for SessionLockState
Source§fn event(
state: &mut Self,
seat: &WlSeat,
event: Event,
_: &(),
_: &Connection,
_: &QueueHandle<SessionLockState>,
)
fn event( state: &mut Self, seat: &WlSeat, event: Event, _: &(), _: &Connection, _: &QueueHandle<SessionLockState>, )
Called when an event from the server is processed Read more
Source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
Source§impl Dispatch<WlSurface, ()> for SessionLockState
impl Dispatch<WlSurface, ()> for SessionLockState
Source§fn event(
state: &mut Self,
surface: &WlSurface,
event: Event,
_: &(),
_: &Connection,
_: &QueueHandle<SessionLockState>,
)
fn event( state: &mut Self, surface: &WlSurface, event: Event, _: &(), _: &Connection, _: &QueueHandle<SessionLockState>, )
Called when an event from the server is processed Read more
Source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
Auto Trait Implementations§
impl Freeze for SessionLockState
impl !RefUnwindSafe for SessionLockState
impl Send for SessionLockState
impl Sync for SessionLockState
impl Unpin for SessionLockState
impl !UnwindSafe for SessionLockState
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
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
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§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.Source§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.