pub struct JobDuplex { /* private fields */ }Expand description
Represents a feature option pack as JobDuplex.
Trait Implementations§
Source§impl FeatureOptionPack for JobDuplex
impl FeatureOptionPack for JobDuplex
Source§fn new(option: PrintFeatureOption, parameters: Vec<ParameterInit>) -> Self
fn new(option: PrintFeatureOption, parameters: Vec<ParameterInit>) -> Self
Create a new instance.
Source§fn feature_name() -> OwnedName
fn feature_name() -> OwnedName
Get the feature name of the option.
Source§fn option(&self) -> &PrintFeatureOption
fn option(&self) -> &PrintFeatureOption
Get the DOM of the option.
Source§fn option_mut(&mut self) -> &mut PrintFeatureOption
fn option_mut(&mut self) -> &mut PrintFeatureOption
Get the mutable reference to the DOM of the option.
Source§fn parameters(&self) -> &[ParameterInit]
fn parameters(&self) -> &[ParameterInit]
Get the parameters that is used by the option.
Source§fn parameters_mut(&mut self) -> &mut Vec<ParameterInit>
fn parameters_mut(&mut self) -> &mut Vec<ParameterInit>
Get the mutable reference to the parameters that is used by the option.
Source§fn into_option_with_parameters(self) -> (PrintFeatureOption, Vec<ParameterInit>)
fn into_option_with_parameters(self) -> (PrintFeatureOption, Vec<ParameterInit>)
Convert the feature option pack into the option and the parameters.
Source§fn display_name(&self) -> Option<&str>
fn display_name(&self) -> Option<&str>
Get display name of the page orientation.
Source§fn list(capabilities: &PrintCapabilities) -> impl Iterator<Item = Self> + '_
fn list(capabilities: &PrintCapabilities) -> impl Iterator<Item = Self> + '_
List all possible options defined in the capabilities.
Source§impl FeatureOptionPackWithPredefined for JobDuplex
impl FeatureOptionPackWithPredefined for JobDuplex
Source§type PredefinedName = PredefinedDuplexType
type PredefinedName = PredefinedDuplexType
The type which represents the predefined name.
Source§fn as_predefined_name(&self) -> Option<Self::PredefinedName>
fn as_predefined_name(&self) -> Option<Self::PredefinedName>
Get the predefined name of the option.
If the option is not predefined,
None is returned.Auto Trait Implementations§
impl Freeze for JobDuplex
impl RefUnwindSafe for JobDuplex
impl Send for JobDuplex
impl Sync for JobDuplex
impl Unpin for JobDuplex
impl UnwindSafe for JobDuplex
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