pub struct ScreenOrientationBuilder { /* private fields */ }Expand description
Builder for ScreenOrientation.
Implementations§
Source§impl ScreenOrientationBuilder
impl ScreenOrientationBuilder
Sourcepub fn type<VALUE: Into<ScreenOrientationType>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn type<VALUE: Into<ScreenOrientationType>>( &mut self, value: VALUE, ) -> &mut Self
Orientation type.
Sourcepub fn build(&self) -> Result<ScreenOrientation, ScreenOrientationBuilderError>
pub fn build(&self) -> Result<ScreenOrientation, ScreenOrientationBuilderError>
Trait Implementations§
Source§impl Clone for ScreenOrientationBuilder
impl Clone for ScreenOrientationBuilder
Source§fn clone(&self) -> ScreenOrientationBuilder
fn clone(&self) -> ScreenOrientationBuilder
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 ScreenOrientationBuilder
impl RefUnwindSafe for ScreenOrientationBuilder
impl Send for ScreenOrientationBuilder
impl Sync for ScreenOrientationBuilder
impl Unpin for ScreenOrientationBuilder
impl UnsafeUnpin 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