struct Placeholder<Key, Plh> {
key: Key,
hot: ResidentState,
shared: Plh,
}Fields§
§key: Key§hot: ResidentStateTrait Implementations§
Source§impl<Key: Clone, Plh: Clone> Clone for Placeholder<Key, Plh>
impl<Key: Clone, Plh: Clone> Clone for Placeholder<Key, Plh>
Source§fn clone(&self) -> Placeholder<Key, Plh>
fn clone(&self) -> Placeholder<Key, Plh>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<Key, Plh> Freeze for Placeholder<Key, Plh>
impl<Key, Plh> RefUnwindSafe for Placeholder<Key, Plh>where
Key: RefUnwindSafe,
Plh: RefUnwindSafe,
impl<Key, Plh> Send for Placeholder<Key, Plh>
impl<Key, Plh> Sync for Placeholder<Key, Plh>
impl<Key, Plh> Unpin for Placeholder<Key, Plh>
impl<Key, Plh> UnwindSafe for Placeholder<Key, Plh>where
Key: UnwindSafe,
Plh: 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