pub struct ChannelDef {
pub var_name: String,
pub pv_name: String,
pub monitored: bool,
pub sync_ef: Option<usize>,
}Expand description
Channel definition: static metadata from the compiled program.
Fields§
§var_name: StringVariable name in the SNL source.
pv_name: StringPV name template (may contain macros like {P}).
monitored: boolWhether this channel has a monitor declaration.
sync_ef: Option<usize>Event flag id synced to this channel (via sync), if any.
Trait Implementations§
Source§impl Clone for ChannelDef
impl Clone for ChannelDef
Source§fn clone(&self) -> ChannelDef
fn clone(&self) -> ChannelDef
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 moreAuto Trait Implementations§
impl Freeze for ChannelDef
impl RefUnwindSafe for ChannelDef
impl Send for ChannelDef
impl Sync for ChannelDef
impl Unpin for ChannelDef
impl UnsafeUnpin for ChannelDef
impl UnwindSafe for ChannelDef
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