pub struct Parameters {
pub sid: SurfaceId,
pub geometry: Geometry,
pub mobility: Mobility,
pub mode: Mode,
pub pos: Position,
pub size: Size,
pub title: String,
}
Expand description
Parameters of the frame defining its properties.
Fields§
§sid: SurfaceId
ID of assigned surface.
geometry: Geometry
Geometry.
mobility: Mobility
Mobility.
mode: Mode
Mode.
pos: Position
Position.
size: Size
Size.
title: String
Title.
Implementations§
Source§impl Parameters
impl Parameters
Sourcepub fn new_display(id: i32, area: Area, title: String) -> Self
pub fn new_display(id: i32, area: Area, title: String) -> Self
Creates new parameters for display frame.
Sourcepub fn new_workspace(title: String, geometry: Geometry, active: bool) -> Self
pub fn new_workspace(title: String, geometry: Geometry, active: bool) -> Self
Creates new parameters for workspace frame.
Sourcepub fn new_container(geometry: Geometry) -> Self
pub fn new_container(geometry: Geometry) -> Self
Creates new parameters for container frame.
Auto Trait Implementations§
impl Freeze for Parameters
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
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