pub struct ConstSource<P, S>(/* private fields */);Expand description
MQ constant repository with primary and secondary constants
Trait Implementations§
Source§impl<P: ConstLookup, S: ConstLookup> ConstLookup for ConstSource<P, S>
impl<P: ConstLookup, S: ConstLookup> ConstLookup for ConstSource<P, S>
Source§fn by_value(&self, value: MQLONG) -> impl Iterator<Item = &str>
fn by_value(&self, value: MQLONG) -> impl Iterator<Item = &str>
All the constant names for the provided value.
The first value returned by the iterator is the primary constant for the value.
Source§fn all(&self) -> impl Iterator<Item = ConstantItem<'_>>
fn all(&self) -> impl Iterator<Item = ConstantItem<'_>>
The complete list of value and name constants
Auto Trait Implementations§
impl<P, S> Freeze for ConstSource<P, S>
impl<P, S> RefUnwindSafe for ConstSource<P, S>where
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S> Send for ConstSource<P, S>
impl<P, S> Sync for ConstSource<P, S>
impl<P, S> Unpin for ConstSource<P, S>
impl<P, S> UnwindSafe for ConstSource<P, S>where
P: UnwindSafe,
S: UnwindSafe,
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