pub struct component_attrs_t {
pub cid: rsm_component_id_t,
pub name: String,
pub inst_num: usize,
pub qlen: usize,
pub priority: E_RSM_TASK_PRIORITY,
pub need_init_ack: bool,
}Expand description
describe the component attribute while register to the RSM
Fields§
§cid: rsm_component_id_t§name: String§inst_num: usize§qlen: usize§priority: E_RSM_TASK_PRIORITY§need_init_ack: boolImplementations§
Source§impl component_attrs_t
impl component_attrs_t
pub fn new( cid: &rsm_component_id_t, name: &str, inst_num: usize, qlen: usize, prio: E_RSM_TASK_PRIORITY, need_init_ack: bool, ) -> Self
Trait Implementations§
Source§impl Clone for component_attrs_t
impl Clone for component_attrs_t
Source§fn clone(&self) -> component_attrs_t
fn clone(&self) -> component_attrs_t
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 PartialEq for component_attrs_t
impl PartialEq for component_attrs_t
Source§impl Serialize for component_attrs_t
impl Serialize for component_attrs_t
impl Eq for component_attrs_t
impl StructuralPartialEq for component_attrs_t
Auto Trait Implementations§
impl Freeze for component_attrs_t
impl RefUnwindSafe for component_attrs_t
impl Send for component_attrs_t
impl Sync for component_attrs_t
impl Unpin for component_attrs_t
impl UnwindSafe for component_attrs_t
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