Struct chromiumoxide::cdp::browser_protocol::emulation::DisplayFeatureBuilder
source · pub struct DisplayFeatureBuilder { /* private fields */ }
Implementations§
source§impl DisplayFeatureBuilder
impl DisplayFeatureBuilder
pub fn orientation( self, orientation: impl Into<DisplayFeatureOrientation>, ) -> DisplayFeatureBuilder
pub fn offset(self, offset: impl Into<i64>) -> DisplayFeatureBuilder
pub fn mask_length(self, mask_length: impl Into<i64>) -> DisplayFeatureBuilder
pub fn build(self) -> Result<DisplayFeature, String>
Trait Implementations§
source§impl Clone for DisplayFeatureBuilder
impl Clone for DisplayFeatureBuilder
source§fn clone(&self) -> DisplayFeatureBuilder
fn clone(&self) -> DisplayFeatureBuilder
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 DisplayFeatureBuilder
impl Default for DisplayFeatureBuilder
source§fn default() -> DisplayFeatureBuilder
fn default() -> DisplayFeatureBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DisplayFeatureBuilder
impl RefUnwindSafe for DisplayFeatureBuilder
impl Send for DisplayFeatureBuilder
impl Sync for DisplayFeatureBuilder
impl Unpin for DisplayFeatureBuilder
impl UnwindSafe for DisplayFeatureBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)