pub struct ElementRegistration {
pub name: String,
pub aliases: Vec<String>,
pub source: ElementSource,
pub shape: ElementShape,
pub authority: ElementAuthority,
pub write_policy: ElementWritePolicy,
pub scheduling_role: ElementSchedulingRole,
pub realtime_model: ElementRealtimeModel,
pub composition_role: ElementCompositionRole,
pub realtime: bool,
}Expand description
Owned descriptor shape suitable for future plugin registration.
Fields§
§name: String§aliases: Vec<String>§source: ElementSource§shape: ElementShape§write_policy: ElementWritePolicy§scheduling_role: ElementSchedulingRole§realtime_model: ElementRealtimeModel§composition_role: ElementCompositionRole§realtime: boolImplementations§
Source§impl ElementRegistration
impl ElementRegistration
pub fn matches_name(&self, name: &str) -> bool
Trait Implementations§
Source§impl Clone for ElementRegistration
impl Clone for ElementRegistration
Source§fn clone(&self) -> ElementRegistration
fn clone(&self) -> ElementRegistration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ElementRegistration
impl Debug for ElementRegistration
impl Eq for ElementRegistration
Source§impl PartialEq for ElementRegistration
impl PartialEq for ElementRegistration
Source§fn eq(&self, other: &ElementRegistration) -> bool
fn eq(&self, other: &ElementRegistration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ElementRegistration
Auto Trait Implementations§
impl Freeze for ElementRegistration
impl RefUnwindSafe for ElementRegistration
impl Send for ElementRegistration
impl Sync for ElementRegistration
impl Unpin for ElementRegistration
impl UnsafeUnpin for ElementRegistration
impl UnwindSafe for ElementRegistration
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