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