pub struct GroupOptionsBuilder { /* private fields */ }Expand description
Fluent builder for group options.
Implementations§
Source§impl GroupOptionsBuilder
impl GroupOptionsBuilder
Sourcepub fn bounds(self, x: f64, y: f64, w: f64, h: f64) -> Self
pub fn bounds(self, x: f64, y: f64, w: f64, h: f64) -> Self
Set position (x, y) and size (w, h) in inches in a single call.
Sourcepub fn child_offset(self, x: i64, y: i64) -> Self
pub fn child_offset(self, x: i64, y: i64) -> Self
Set the child coordinate space origin in EMU.
Sourcepub fn child_extent(self, cx: i64, cy: i64) -> Self
pub fn child_extent(self, cx: i64, cy: i64) -> Self
Set the child coordinate space extent in EMU. If not set, defaults to the group’s own dimensions.
Sourcepub fn build(self) -> GroupOptions
pub fn build(self) -> GroupOptions
Consume the builder and return the group options.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GroupOptionsBuilder
impl RefUnwindSafe for GroupOptionsBuilder
impl Send for GroupOptionsBuilder
impl Sync for GroupOptionsBuilder
impl Unpin for GroupOptionsBuilder
impl UnsafeUnpin for GroupOptionsBuilder
impl UnwindSafe for GroupOptionsBuilder
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