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
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more