#[non_exhaustive]pub struct OutputResolutionStackInputBuilder { /* private fields */ }Expand description
A builder for OutputResolutionStackInput.
Implementations§
source§impl OutputResolutionStackInputBuilder
impl OutputResolutionStackInputBuilder
sourcepub fn predefined(self, input: PredefinedResolution) -> Self
pub fn predefined(self, input: PredefinedResolution) -> Self
A string value representing Predefined Output Resolution for a stacking operation. Allowed values are HIGHEST, LOWEST, and AVERAGE.
sourcepub fn set_predefined(self, input: Option<PredefinedResolution>) -> Self
pub fn set_predefined(self, input: Option<PredefinedResolution>) -> Self
A string value representing Predefined Output Resolution for a stacking operation. Allowed values are HIGHEST, LOWEST, and AVERAGE.
sourcepub fn user_defined(self, input: UserDefined) -> Self
pub fn user_defined(self, input: UserDefined) -> Self
The structure representing User Output Resolution for a Stacking operation defined as a value and unit.
sourcepub fn set_user_defined(self, input: Option<UserDefined>) -> Self
pub fn set_user_defined(self, input: Option<UserDefined>) -> Self
The structure representing User Output Resolution for a Stacking operation defined as a value and unit.
sourcepub fn build(self) -> OutputResolutionStackInput
pub fn build(self) -> OutputResolutionStackInput
Consumes the builder and constructs a OutputResolutionStackInput.
Trait Implementations§
source§impl Clone for OutputResolutionStackInputBuilder
impl Clone for OutputResolutionStackInputBuilder
source§fn clone(&self) -> OutputResolutionStackInputBuilder
fn clone(&self) -> OutputResolutionStackInputBuilder
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 OutputResolutionStackInputBuilder
impl Default for OutputResolutionStackInputBuilder
source§fn default() -> OutputResolutionStackInputBuilder
fn default() -> OutputResolutionStackInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<OutputResolutionStackInputBuilder> for OutputResolutionStackInputBuilder
impl PartialEq<OutputResolutionStackInputBuilder> for OutputResolutionStackInputBuilder
source§fn eq(&self, other: &OutputResolutionStackInputBuilder) -> bool
fn eq(&self, other: &OutputResolutionStackInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OutputResolutionStackInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for OutputResolutionStackInputBuilder
impl Send for OutputResolutionStackInputBuilder
impl Sync for OutputResolutionStackInputBuilder
impl Unpin for OutputResolutionStackInputBuilder
impl UnwindSafe for OutputResolutionStackInputBuilder
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