enum State {
Hidden,
SizeRequested {
output: OutputId,
height: u32,
},
SizeAllocated {
output: OutputId,
wanted_height: u32,
allocated: Size,
},
}
Expand description
This state requests the Wayland layer shell protocol synchronization: the application asks for some size, and then receives a size that the compositor thought appropriate. Stores raw values passed to Wayland, i.e. scaled dimensions.
Variants
Hidden
SizeRequested
SizeAllocated
Implementations
Trait Implementations
impl StructuralPartialEq for State
Auto Trait Implementations
impl RefUnwindSafe for State
impl Send for State
impl !Sync for State
impl Unpin for State
impl UnwindSafe for State
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