pub struct AddScreenBuilder { /* private fields */ }Implementations§
Source§impl AddScreenBuilder
impl AddScreenBuilder
pub fn left(self, left: impl Into<i64>) -> Self
pub fn top(self, top: impl Into<i64>) -> Self
pub fn width(self, width: impl Into<i64>) -> Self
pub fn height(self, height: impl Into<i64>) -> Self
pub fn work_area_insets( self, work_area_insets: impl Into<WorkAreaInsets>, ) -> Self
pub fn device_pixel_ratio(self, device_pixel_ratio: impl Into<f64>) -> Self
pub fn rotation(self, rotation: impl Into<i64>) -> Self
pub fn color_depth(self, color_depth: impl Into<i64>) -> Self
pub fn label(self, label: impl Into<String>) -> Self
pub fn is_internal(self, is_internal: impl Into<bool>) -> Self
pub fn build(self) -> Result<AddScreen, String>
Trait Implementations§
Source§impl Clone for AddScreenBuilder
impl Clone for AddScreenBuilder
Source§fn clone(&self) -> AddScreenBuilder
fn clone(&self) -> AddScreenBuilder
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 moreSource§impl Default for AddScreenBuilder
impl Default for AddScreenBuilder
Source§fn default() -> AddScreenBuilder
fn default() -> AddScreenBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddScreenBuilder
impl RefUnwindSafe for AddScreenBuilder
impl Send for AddScreenBuilder
impl Sync for AddScreenBuilder
impl Unpin for AddScreenBuilder
impl UnsafeUnpin for AddScreenBuilder
impl UnwindSafe for AddScreenBuilder
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