pub struct PrintFeatureOption {
pub name: Option<OwnedName>,
pub scored_properties: Vec<ScoredProperty>,
pub properties: Vec<Property>,
}Expand description
Represents a possible option for a PrintFeature.
Fields§
§name: Option<OwnedName>The name of the option.
scored_properties: Vec<ScoredProperty>Scored-properties of the option
properties: Vec<Property>Properties of the option
Implementations§
Source§impl PrintFeatureOption
impl PrintFeatureOption
Sourcepub fn parameters_dependent(&self) -> Vec<OwnedName>
pub fn parameters_dependent(&self) -> Vec<OwnedName>
Collect all parameters that this option depends on.
Trait Implementations§
Source§impl Clone for PrintFeatureOption
impl Clone for PrintFeatureOption
Source§fn clone(&self) -> PrintFeatureOption
fn clone(&self) -> PrintFeatureOption
Returns a duplicate 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 Debug for PrintFeatureOption
impl Debug for PrintFeatureOption
Source§impl Hash for PrintFeatureOption
impl Hash for PrintFeatureOption
Source§impl PartialEq for PrintFeatureOption
impl PartialEq for PrintFeatureOption
Source§impl WithProperties for PrintFeatureOption
impl WithProperties for PrintFeatureOption
Source§impl WithScoredProperties for PrintFeatureOption
impl WithScoredProperties for PrintFeatureOption
Source§fn scored_properties(&self) -> &[ScoredProperty]
fn scored_properties(&self) -> &[ScoredProperty]
Get the scored properties.
Source§fn get_scored_property(
&self,
name: &str,
namespace: Option<&str>,
) -> Option<&ScoredProperty>
fn get_scored_property( &self, name: &str, namespace: Option<&str>, ) -> Option<&ScoredProperty>
Get the scored-property with the given name and namespace.
Source§impl XmlSerializer for PrintFeatureOption
impl XmlSerializer for PrintFeatureOption
impl Eq for PrintFeatureOption
impl StructuralPartialEq for PrintFeatureOption
Auto Trait Implementations§
impl Freeze for PrintFeatureOption
impl RefUnwindSafe for PrintFeatureOption
impl Send for PrintFeatureOption
impl Sync for PrintFeatureOption
impl Unpin for PrintFeatureOption
impl UnwindSafe for PrintFeatureOption
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