pub struct ClaimList<C: Claim> {
claims: Vec<C>,
}
Fields§
§claims: Vec<C>
Implementations§
source§impl<C: Claim> ClaimList<C>
impl<C: Claim> ClaimList<C>
pub fn iter(&self) -> Iter<'_, C>
sourcepub fn find_last_claim_by_type<T: 'static>(
&self,
agent_name: AgentName,
) -> Option<&C>
pub fn find_last_claim_by_type<T: 'static>( &self, agent_name: AgentName, ) -> Option<&C>
finds the last claim matching type
pub fn find_last_claim( &self, agent_name: AgentName, shape: TypeShape<C::PT>, ) -> Option<&C>
pub fn slice(&self) -> &[C]
Trait Implementations§
impl<C: Claim> StructuralPartialEq for ClaimList<C>
Auto Trait Implementations§
impl<C> Freeze for ClaimList<C>
impl<C> RefUnwindSafe for ClaimList<C>where
C: RefUnwindSafe,
impl<C> Send for ClaimList<C>where
C: Send,
impl<C> Sync for ClaimList<C>where
C: Sync,
impl<C> Unpin for ClaimList<C>where
C: Unpin,
impl<C> UnwindSafe for ClaimList<C>where
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.