pub struct LayoutRequester { /* private fields */ }
Expand description
A struct that can request layouts.
Implementations§
Source§impl LayoutRequester
impl LayoutRequester
Sourcepub fn request_layout(&self)
pub fn request_layout(&self)
Requests a layout from the compositor.
This uses the focused output for the request.
If you want to layout a specific output, see LayoutRequester::request_layout_on_output
.
Sourcepub fn request_layout_on_output(&self, output: &OutputHandle)
pub fn request_layout_on_output(&self, output: &OutputHandle)
Requests a layout from the compositor for the given output.
Trait Implementations§
Source§impl Clone for LayoutRequester
impl Clone for LayoutRequester
Source§fn clone(&self) -> LayoutRequester
fn clone(&self) -> LayoutRequester
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LayoutRequester
impl RefUnwindSafe for LayoutRequester
impl Send for LayoutRequester
impl Sync for LayoutRequester
impl Unpin for LayoutRequester
impl UnwindSafe for LayoutRequester
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered
].