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