pub struct BoundsBuilder { /* private fields */ }Implementations§
Source§impl BoundsBuilder
impl BoundsBuilder
Sourcepub fn left(self, left: i64) -> Self
pub fn left(self, left: i64) -> Self
The offset from the left edge of the screen to the window in pixels.
Sourcepub fn top(self, top: i64) -> Self
pub fn top(self, top: i64) -> Self
The offset from the top edge of the screen to the window in pixels.
Sourcepub fn windowState(self, windowState: WindowState) -> Self
pub fn windowState(self, windowState: WindowState) -> Self
The window state. Default to normal.
pub fn build(self) -> Bounds
Trait Implementations§
Source§impl Default for BoundsBuilder
impl Default for BoundsBuilder
Source§fn default() -> BoundsBuilder
fn default() -> BoundsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BoundsBuilder
impl RefUnwindSafe for BoundsBuilder
impl Send for BoundsBuilder
impl Sync for BoundsBuilder
impl Unpin for BoundsBuilder
impl UnsafeUnpin for BoundsBuilder
impl UnwindSafe for BoundsBuilder
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