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.Source§impl ValueTypeMarker for Element
impl ValueTypeMarker for Element
impl Persistable for Element
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)