Struct gtk4::builders::BoxLayoutBuilder
source · [−]pub struct BoxLayoutBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct BoxLayout
objects.
Implementations
sourceimpl BoxLayoutBuilder
impl BoxLayoutBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new BoxLayoutBuilder
.
pub fn baseline_position(self, baseline_position: BaselinePosition) -> Self
pub fn homogeneous(self, homogeneous: bool) -> Self
pub fn spacing(self, spacing: i32) -> Self
pub fn orientation(self, orientation: Orientation) -> Self
Trait Implementations
sourceimpl Clone for BoxLayoutBuilder
impl Clone for BoxLayoutBuilder
sourcefn clone(&self) -> BoxLayoutBuilder
fn clone(&self) -> BoxLayoutBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for BoxLayoutBuilder
impl Default for BoxLayoutBuilder
sourcefn default() -> BoxLayoutBuilder
fn default() -> BoxLayoutBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BoxLayoutBuilder
impl Send for BoxLayoutBuilder
impl Sync for BoxLayoutBuilder
impl Unpin for BoxLayoutBuilder
impl UnwindSafe for BoxLayoutBuilder
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