#[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 get_predefined(&self) -> &Option<PredefinedResolution>
pub fn get_predefined(&self) -> &Option<PredefinedResolution>
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 get_user_defined(&self) -> &Option<UserDefined>
pub fn get_user_defined(&self) -> &Option<UserDefined>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for OutputResolutionStackInputBuilder
impl Default for OutputResolutionStackInputBuilder
source§fn default() -> OutputResolutionStackInputBuilder
fn default() -> OutputResolutionStackInputBuilder
source§impl PartialEq for OutputResolutionStackInputBuilder
impl PartialEq for OutputResolutionStackInputBuilder
source§fn eq(&self, other: &OutputResolutionStackInputBuilder) -> bool
fn eq(&self, other: &OutputResolutionStackInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OutputResolutionStackInputBuilder
Auto Trait Implementations§
impl Freeze for OutputResolutionStackInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more