pub struct ScreenOrientationBuilder { /* private fields */ }
Implementations§
source§impl ScreenOrientationBuilder
impl ScreenOrientationBuilder
pub fn type( self, type: impl Into<ScreenOrientationType> ) -> ScreenOrientationBuilder
pub fn angle(self, angle: impl Into<i64>) -> ScreenOrientationBuilder
pub fn build(self) -> Result<ScreenOrientation, String>
Trait Implementations§
source§impl Clone for ScreenOrientationBuilder
impl Clone for ScreenOrientationBuilder
source§fn clone(&self) -> ScreenOrientationBuilder
fn clone(&self) -> ScreenOrientationBuilder
Returns a copy 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 ScreenOrientationBuilder
impl Default for ScreenOrientationBuilder
source§fn default() -> ScreenOrientationBuilder
fn default() -> ScreenOrientationBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScreenOrientationBuilder
impl RefUnwindSafe for ScreenOrientationBuilder
impl Send for ScreenOrientationBuilder
impl Sync for ScreenOrientationBuilder
impl Unpin for ScreenOrientationBuilder
impl UnwindSafe for ScreenOrientationBuilder
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