Struct puffin::claims::GlobalClaimList
source · pub struct GlobalClaimList<PT: ProtocolTypes, C: Claim<PT>> {
claims: Rc<RefCell<ClaimList<PT, C>>>,
}
Fields§
§claims: Rc<RefCell<ClaimList<PT, C>>>
Implementations§
source§impl<PT: ProtocolTypes, C: Claim<PT>> GlobalClaimList<PT, C>
impl<PT: ProtocolTypes, C: Claim<PT>> GlobalClaimList<PT, C>
pub fn new() -> Self
pub fn deref_borrow(&self) -> Ref<'_, ClaimList<PT, C>>
pub fn deref_borrow_mut(&self) -> RefMut<'_, ClaimList<PT, C>>
Trait Implementations§
source§impl<PT: Clone + ProtocolTypes, C: Clone + Claim<PT>> Clone for GlobalClaimList<PT, C>
impl<PT: Clone + ProtocolTypes, C: Clone + Claim<PT>> Clone for GlobalClaimList<PT, C>
source§fn clone(&self) -> GlobalClaimList<PT, C>
fn clone(&self) -> GlobalClaimList<PT, C>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<PT: Debug + ProtocolTypes, C: Debug + Claim<PT>> Debug for GlobalClaimList<PT, C>
impl<PT: Debug + ProtocolTypes, C: Debug + Claim<PT>> Debug for GlobalClaimList<PT, C>
source§impl<PT: Default + ProtocolTypes, C: Default + Claim<PT>> Default for GlobalClaimList<PT, C>
impl<PT: Default + ProtocolTypes, C: Default + Claim<PT>> Default for GlobalClaimList<PT, C>
source§fn default() -> GlobalClaimList<PT, C>
fn default() -> GlobalClaimList<PT, C>
Returns the “default value” for a type. Read more
source§impl<PT: PartialEq + ProtocolTypes, C: PartialEq + Claim<PT>> PartialEq for GlobalClaimList<PT, C>
impl<PT: PartialEq + ProtocolTypes, C: PartialEq + Claim<PT>> PartialEq for GlobalClaimList<PT, C>
impl<PT: ProtocolTypes, C: Claim<PT>> StructuralPartialEq for GlobalClaimList<PT, C>
Auto Trait Implementations§
impl<PT, C> Freeze for GlobalClaimList<PT, C>
impl<PT, C> !RefUnwindSafe for GlobalClaimList<PT, C>
impl<PT, C> !Send for GlobalClaimList<PT, C>
impl<PT, C> !Sync for GlobalClaimList<PT, C>
impl<PT, C> Unpin for GlobalClaimList<PT, C>
impl<PT, C> !UnwindSafe for GlobalClaimList<PT, C>
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
)§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.