pub trait EncodingProfileBuilder<'a>: Sized {
Show 16 methods
// Required methods
fn name(self, name: &'a str) -> Self;
fn description(self, description: &'a str) -> Self;
fn preset(self, preset: &'a str) -> Self;
fn preset_name(self, preset_name: &'a str) -> Self;
fn presence(self, presence: u32) -> Self;
fn presence_if(self, presence: u32, predicate: bool) -> Self;
fn presence_if_some(self, presence: Option<u32>) -> Self;
fn allow_dynamic_output(self, allow: bool) -> Self;
fn allow_dynamic_output_if_some(
self,
allow_dynamic_output: Option<bool>,
) -> Self;
fn enabled(self, enabled: bool) -> Self;
fn enabled_if_some(self, enabled: Option<bool>) -> Self;
fn single_segment(self, single_segment: bool) -> Self;
fn single_segment_if_some(self, single_segment: Option<bool>) -> Self;
fn element_properties(self, element_properties: ElementProperties) -> Self;
fn element_properties_if(
self,
element_properties: ElementProperties,
predecate: bool,
) -> Self;
fn element_properties_if_some(
self,
element_properties: Option<ElementProperties>,
) -> Self;
}
Required Methods§
fn name(self, name: &'a str) -> Self
fn description(self, description: &'a str) -> Self
fn preset(self, preset: &'a str) -> Self
fn preset_name(self, preset_name: &'a str) -> Self
fn presence(self, presence: u32) -> Self
fn presence_if(self, presence: u32, predicate: bool) -> Self
fn presence_if_some(self, presence: Option<u32>) -> Self
fn allow_dynamic_output(self, allow: bool) -> Self
fn allow_dynamic_output_if_some( self, allow_dynamic_output: Option<bool>, ) -> Self
fn enabled(self, enabled: bool) -> Self
fn enabled_if_some(self, enabled: Option<bool>) -> Self
fn single_segment(self, single_segment: bool) -> Self
fn single_segment_if_some(self, single_segment: Option<bool>) -> Self
fn element_properties(self, element_properties: ElementProperties) -> Self
fn element_properties_if( self, element_properties: ElementProperties, predecate: bool, ) -> Self
fn element_properties_if_some( self, element_properties: Option<ElementProperties>, ) -> Self
Object Safety§
This trait is not object safe.