pub struct SetContentsSizeParamsBuilder { /* private fields */ }Implementations§
Source§impl SetContentsSizeParamsBuilder
impl SetContentsSizeParamsBuilder
Sourcepub fn width(self, width: u64) -> Self
pub fn width(self, width: u64) -> Self
The window contents width in DIP. Assumes current width if omitted. Must be specified if ‘height’ is omitted.
Sourcepub fn height(self, height: i64) -> Self
pub fn height(self, height: i64) -> Self
The window contents height in DIP. Assumes current height if omitted. Must be specified if ‘width’ is omitted.
pub fn build(self) -> SetContentsSizeParams
Auto Trait Implementations§
impl Freeze for SetContentsSizeParamsBuilder
impl RefUnwindSafe for SetContentsSizeParamsBuilder
impl Send for SetContentsSizeParamsBuilder
impl Sync for SetContentsSizeParamsBuilder
impl Unpin for SetContentsSizeParamsBuilder
impl UnsafeUnpin for SetContentsSizeParamsBuilder
impl UnwindSafe for SetContentsSizeParamsBuilder
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