Struct libpanel::builders::PositionBuilder
source · pub struct PositionBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Position
objects.
Implementations§
source§impl PositionBuilder
impl PositionBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new PositionBuilder
.
pub fn area(self, area: Area) -> Self
pub fn area_set(self, area_set: bool) -> Self
pub fn column(self, column: u32) -> Self
pub fn column_set(self, column_set: bool) -> Self
pub fn depth(self, depth: u32) -> Self
pub fn depth_set(self, depth_set: bool) -> Self
pub fn row(self, row: u32) -> Self
pub fn row_set(self, row_set: bool) -> Self
Trait Implementations§
source§impl Clone for PositionBuilder
impl Clone for PositionBuilder
source§fn clone(&self) -> PositionBuilder
fn clone(&self) -> PositionBuilder
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 moresource§impl Default for PositionBuilder
impl Default for PositionBuilder
source§fn default() -> PositionBuilder
fn default() -> PositionBuilder
Returns the “default value” for a type. Read more