pub(crate) struct Probe {Show 29 fields
pub(crate) globals: Vec<(String, u32)>,
pub(crate) compositor: Option<WlCompositor>,
pub(crate) shm: Option<WlShm>,
pub(crate) wm_base: Option<XdgWmBase>,
pub(crate) layer_shell: Option<ZwlrLayerShellV1>,
pub(crate) screencopy: Option<ZwlrScreencopyManagerV1>,
pub(crate) session_lock: Option<ExtSessionLockManagerV1>,
pub(crate) idle_notifier: Option<ExtIdleNotifierV1>,
pub(crate) idle_inhibit: Option<ZwpIdleInhibitManagerV1>,
pub(crate) idle_events: Vec<&'static str>,
pub(crate) seat: Option<WlSeat>,
pub(crate) layouts: Vec<String>,
pub(crate) active_layout: Option<u32>,
pub(crate) repeat: Option<(i32, i32)>,
pub(crate) pointer_at: Vec<(f64, f64)>,
pub(crate) locked: bool,
pub(crate) lock_refused: bool,
pub(crate) lock_surfaces: Vec<(String, u32, u32)>,
pub(crate) decorations: Option<ZxdgDecorationManagerV1>,
pub(crate) presentation: Option<WpPresentation>,
pub(crate) shot: Option<Shot>,
pub(crate) bars_alive: Vec<(WlSurface, ZwlrLayerSurfaceV1)>,
pub(crate) outputs: Vec<Screen>,
pub(crate) bars: Vec<(String, u32, u32)>,
pub(crate) clock: Option<u32>,
pub(crate) surface: Option<WlSurface>,
pub(crate) configured: bool,
pub(crate) presented: Vec<Presented>,
pub(crate) discarded: usize,
}Fields§
§globals: Vec<(String, u32)>Every global the compositor advertised, with its version.
compositor: Option<WlCompositor>§shm: Option<WlShm>§wm_base: Option<XdgWmBase>§layer_shell: Option<ZwlrLayerShellV1>§screencopy: Option<ZwlrScreencopyManagerV1>§session_lock: Option<ExtSessionLockManagerV1>§idle_notifier: Option<ExtIdleNotifierV1>§idle_inhibit: Option<ZwpIdleInhibitManagerV1>§idle_events: Vec<&'static str>Every idled/resumed in order, so a check can assert on the
sequence and not just the final state – “it went idle, came back and
went idle again” is the claim, and only the sequence carries it.
seat: Option<WlSeat>§layouts: Vec<String>The layouts named in the keymap the compositor sent, in order, and which one is active. The only way a client can find out: the keymap arrives as a file descriptor and nothing else describes it.
active_layout: Option<u32>§repeat: Option<(i32, i32)>§pointer_at: Vec<(f64, f64)>Where the compositor said the pointer was, in the surface’s own coordinates. The one number a client cannot check any other way: a compositor that reports the wrong place has buttons that miss.
locked: boolWhether the compositor said the session is locked, and whether it refused. Exactly one of these is the answer to “did the lock take”.
lock_refused: bool§lock_surfaces: Vec<(String, u32, u32)>Each lock surface the compositor configured, by output name and size.
decorations: Option<ZxdgDecorationManagerV1>§presentation: Option<WpPresentation>§shot: Option<Shot>What a capture told us to allocate, and how it went.
bars_alive: Vec<(WlSurface, ZwlrLayerSurfaceV1)>The bars, kept alive past the layer check.
Not tidiness: the capture check looks for one of them in the top rows
of the image, which is the only way a client can tell an upside-down
screenshot from a right-way-up one. Dropped at the end of main with
everything else.
outputs: Vec<Screen>Every output, in the order advertised: the proxy, its name, and the size of its current mode.
bars: Vec<(String, u32, u32)>The size each layer surface was configured to, by the output it named.
clock: Option<u32>The clock id the compositor says its timestamps are on.
surface: Option<WlSurface>§configured: bool§presented: Vec<Presented>One entry per frame the compositor said it had presented.
discarded: usizeImplementations§
Trait Implementations§
Source§impl Dispatch<ExtIdleNotificationV1, ()> for Probe
impl Dispatch<ExtIdleNotificationV1, ()> for Probe
Source§impl Dispatch<ExtIdleNotifierV1, ()> for Probe
impl Dispatch<ExtIdleNotifierV1, ()> for Probe
Source§impl Dispatch<ExtSessionLockManagerV1, ()> for Probe
impl Dispatch<ExtSessionLockManagerV1, ()> for Probe
Source§impl Dispatch<ExtSessionLockSurfaceV1, String> for Probe
impl Dispatch<ExtSessionLockSurfaceV1, String> for Probe
Source§impl Dispatch<ExtSessionLockV1, ()> for Probe
impl Dispatch<ExtSessionLockV1, ()> for Probe
Source§impl Dispatch<WlBuffer, ()> for Probe
impl Dispatch<WlBuffer, ()> for Probe
Source§impl Dispatch<WlCompositor, ()> for Probe
impl Dispatch<WlCompositor, ()> for Probe
Source§impl Dispatch<WlKeyboard, ()> for Probe
impl Dispatch<WlKeyboard, ()> for Probe
Source§impl Dispatch<WlOutput, ()> for Probe
impl Dispatch<WlOutput, ()> for Probe
Source§impl Dispatch<WlPointer, ()> for Probe
impl Dispatch<WlPointer, ()> for Probe
Source§impl Dispatch<WlRegistry, ()> for Probe
impl Dispatch<WlRegistry, ()> for Probe
Source§impl Dispatch<WlSeat, ()> for Probe
impl Dispatch<WlSeat, ()> for Probe
Source§impl Dispatch<WlShm, ()> for Probe
impl Dispatch<WlShm, ()> for Probe
Source§impl Dispatch<WlShmPool, ()> for Probe
impl Dispatch<WlShmPool, ()> for Probe
Source§impl Dispatch<WlSurface, ()> for Probe
impl Dispatch<WlSurface, ()> for Probe
Source§impl Dispatch<WpPresentation, ()> for Probe
impl Dispatch<WpPresentation, ()> for Probe
Source§impl Dispatch<WpPresentationFeedback, ()> for Probe
impl Dispatch<WpPresentationFeedback, ()> for Probe
Source§impl Dispatch<XdgPopup, ()> for Probe
impl Dispatch<XdgPopup, ()> for Probe
Source§impl Dispatch<XdgPositioner, ()> for Probe
impl Dispatch<XdgPositioner, ()> for Probe
Source§impl Dispatch<XdgSurface, ()> for Probe
impl Dispatch<XdgSurface, ()> for Probe
Source§impl Dispatch<XdgToplevel, ()> for Probe
impl Dispatch<XdgToplevel, ()> for Probe
Source§impl Dispatch<XdgWmBase, ()> for Probe
impl Dispatch<XdgWmBase, ()> for Probe
Source§impl Dispatch<ZwlrLayerShellV1, ()> for Probe
impl Dispatch<ZwlrLayerShellV1, ()> for Probe
Source§impl Dispatch<ZwlrLayerSurfaceV1, String> for Probe
impl Dispatch<ZwlrLayerSurfaceV1, String> for Probe
Source§impl Dispatch<ZwlrScreencopyFrameV1, ()> for Probe
impl Dispatch<ZwlrScreencopyFrameV1, ()> for Probe
Source§impl Dispatch<ZwlrScreencopyManagerV1, ()> for Probe
impl Dispatch<ZwlrScreencopyManagerV1, ()> for Probe
Source§impl Dispatch<ZwpIdleInhibitManagerV1, ()> for Probe
impl Dispatch<ZwpIdleInhibitManagerV1, ()> for Probe
Source§impl Dispatch<ZwpIdleInhibitorV1, ()> for Probe
impl Dispatch<ZwpIdleInhibitorV1, ()> for Probe
Source§impl Dispatch<ZxdgDecorationManagerV1, ()> for Probe
impl Dispatch<ZxdgDecorationManagerV1, ()> for Probe
Auto Trait Implementations§
impl !RefUnwindSafe for Probe
impl !UnwindSafe for Probe
impl Freeze for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnsafeUnpin for Probe
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
§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.