pub struct ClaimList<PT: ProtocolTypes, C: Claim<PT>> {
claims: Vec<C>,
phantom: PhantomData<PT>,
}
Fields§
§claims: Vec<C>
§phantom: PhantomData<PT>
Implementations§
source§impl<PT: ProtocolTypes, C: Claim<PT>> ClaimList<PT, C>
impl<PT: ProtocolTypes, C: Claim<PT>> ClaimList<PT, C>
source§impl<PT: ProtocolTypes, C: Claim<PT>> ClaimList<PT, C>
impl<PT: ProtocolTypes, C: Claim<PT>> ClaimList<PT, C>
pub const fn new() -> Self
pub fn claim_sized(&mut self, claim: C)
Trait Implementations§
impl<PT: ProtocolTypes, C: Claim<PT>> StructuralPartialEq for ClaimList<PT, C>
Auto Trait Implementations§
impl<PT, C> Freeze for ClaimList<PT, C>
impl<PT, C> RefUnwindSafe for ClaimList<PT, C>where
PT: RefUnwindSafe,
C: RefUnwindSafe,
impl<PT, C> Send for ClaimList<PT, C>
impl<PT, C> Sync for ClaimList<PT, C>
impl<PT, C> Unpin for ClaimList<PT, C>
impl<PT, C> UnwindSafe for ClaimList<PT, C>where
PT: UnwindSafe,
C: 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
§impl<T> CloneAny for T
impl<T> CloneAny for T
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
)§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.