pub struct SignalId(_);
Expand description
Signal ID.
Implementations
sourceimpl 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
sourceimpl PartialEq<SignalId> for SignalId
impl PartialEq<SignalId> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more