pub struct DwindleLayout {
pub view_padding: u32,
pub outer_padding: u32,
pub ratio: f32,
}Fields§
§view_padding: u32§outer_padding: u32§ratio: f32Implementations§
Source§impl DwindleLayout
impl DwindleLayout
Trait Implementations§
Source§impl Layout for DwindleLayout
impl Layout for DwindleLayout
Source§const NAMESPACE: &'static str = "river-dwindle"
const NAMESPACE: &'static str = "river-dwindle"
The namespace is used by the compositor to distinguish between layout generators. Two separate
clients may not share a namespace. Otherwise,
run will return Error::NamespaceInUse.Source§type Error = Infallible
type Error = Infallible
Auto Trait Implementations§
impl Freeze for DwindleLayout
impl RefUnwindSafe for DwindleLayout
impl Send for DwindleLayout
impl Sync for DwindleLayout
impl Unpin for DwindleLayout
impl UnwindSafe for DwindleLayout
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