pub struct SignalId(/* private fields */);
Expand description
Signal ID.
Implementations§
source§impl SignalId
impl SignalId
sourcepub unsafe fn new(id: NonZeroU32) -> Self
pub unsafe fn new(id: NonZeroU32) -> Self
pub fn parse_name( name: &str, type_: Type, force_detail: bool ) -> Option<(Self, Option<Quark>)>
sourcepub fn lookup(name: &str, type_: Type) -> Option<Self>
pub fn lookup(name: &str, type_: Type) -> Option<Self>
Find a SignalId by its name
, and the type
it connects to.
sourcepub fn query(&self) -> SignalQuery
pub fn query(&self) -> SignalQuery
Queries more in-depth information about the current signal.
Trait Implementations§
source§impl PartialEq for SignalId
impl PartialEq for SignalId
impl Copy for SignalId
impl Eq for SignalId
impl StructuralEq for SignalId
impl StructuralPartialEq for SignalId
Auto Trait Implementations§
impl RefUnwindSafe for SignalId
impl Send for SignalId
impl Sync for SignalId
impl Unpin for SignalId
impl UnwindSafe for SignalId
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