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 StructuralPartialEq for SignalId
Auto Trait Implementations§
impl Freeze for SignalId
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)