pub struct SetWindowBoundsBuilder { /* private fields */ }Expand description
Builder for SetWindowBounds.
Implementations§
Source§impl SetWindowBoundsBuilder
impl SetWindowBoundsBuilder
Sourcepub fn window_id<VALUE: Into<WindowId>>(&mut self, value: VALUE) -> &mut Self
pub fn window_id<VALUE: Into<WindowId>>(&mut self, value: VALUE) -> &mut Self
Browser window id.
Sourcepub fn bounds<VALUE: Into<Bounds>>(&mut self, value: VALUE) -> &mut Self
pub fn bounds<VALUE: Into<Bounds>>(&mut self, value: VALUE) -> &mut Self
New window bounds. The ‘minimized’, ‘maximized’ and ‘fullscreen’ states cannot be combined with ‘left’, ‘top’, ‘width’ or ‘height’. Leaves unspecified fields unchanged.
Sourcepub fn build(&self) -> Result<SetWindowBounds, SetWindowBoundsBuilderError>
pub fn build(&self) -> Result<SetWindowBounds, SetWindowBoundsBuilderError>
Trait Implementations§
Source§impl Clone for SetWindowBoundsBuilder
impl Clone for SetWindowBoundsBuilder
Source§fn clone(&self) -> SetWindowBoundsBuilder
fn clone(&self) -> SetWindowBoundsBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SetWindowBoundsBuilder
impl RefUnwindSafe for SetWindowBoundsBuilder
impl Send for SetWindowBoundsBuilder
impl Sync for SetWindowBoundsBuilder
impl Unpin for SetWindowBoundsBuilder
impl UnsafeUnpin for SetWindowBoundsBuilder
impl UnwindSafe for SetWindowBoundsBuilder
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