pub struct DisplayFeatureBuilder { /* private fields */ }
Implementations
sourceimpl DisplayFeatureBuilder
impl DisplayFeatureBuilder
pub fn orientation(
self,
orientation: impl Into<DisplayFeatureOrientation>
) -> Self
pub fn offset(self, offset: impl Into<i64>) -> Self
pub fn mask_length(self, mask_length: impl Into<i64>) -> Self
pub fn build(self) -> Result<DisplayFeature, String>
Trait Implementations
sourceimpl Clone for DisplayFeatureBuilder
impl Clone for DisplayFeatureBuilder
sourcefn clone(&self) -> DisplayFeatureBuilder
fn clone(&self) -> DisplayFeatureBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for DisplayFeatureBuilder
impl Default for DisplayFeatureBuilder
sourcefn default() -> DisplayFeatureBuilder
fn default() -> DisplayFeatureBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DisplayFeatureBuilder
impl Send for DisplayFeatureBuilder
impl Sync for DisplayFeatureBuilder
impl Unpin for DisplayFeatureBuilder
impl UnwindSafe for DisplayFeatureBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more