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§
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§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
)