pub struct Element {
pub id: Option<u64>,
pub type_: Option<ElementType>,
pub type_specific: Option<TypeSpecificElement>,
pub can_disable: Option<bool>,
pub description: Option<String>,
pub can_stop: Option<bool>,
pub can_bypass: Option<bool>,
/* private fields */
}
Fields§
§id: Option<u64>
Unique ID for this element. The scope of this id is only within the SignalProcessing
protocol lifespan, i.e. until the channel associated with the protocol is closed.
Required.
type_: Option<ElementType>
Processing element type.
Required.
type_specific: Option<TypeSpecificElement>
If included, type-specific parameters for the processing element.
Optional.
can_disable: Option<bool>
If included and true, the processing element can be disabled via
ElementSetState
.
If not included or false, the processing element is always enabled.
Optional.
§Deprecation
Use can_bypass
instead.
description: Option<String>
If included, a textual description of the processing element.
Optional.
can_stop: Option<bool>
If included and true, the processing element can be stopped via ElementSetState
.
If not included or false, the processing element is always started.
Optional.
can_bypass: Option<bool>
If included and true, the processing element can be bypassed via ElementSetState
.
If not included or false, the processing element cannot be bypassed.
Optional.
Trait Implementations§
Source§impl<D: ResourceDialect> Decode<Element, D> for Element
impl<D: ResourceDialect> Decode<Element, D> for Element
Source§impl TypeMarker for Element
impl TypeMarker for Element
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.