pub struct ThreadLocalCtxtFrame { /* private fields */ }Expand description
A Ctxt::Frame on a ThreadLocalCtxt.
Trait Implementations§
Source§impl Clone for ThreadLocalCtxtFrame
impl Clone for ThreadLocalCtxtFrame
Source§fn clone(&self) -> ThreadLocalCtxtFrame
fn clone(&self) -> ThreadLocalCtxtFrame
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 moreSource§impl Props for ThreadLocalCtxtFrame
impl Props for ThreadLocalCtxtFrame
Source§fn for_each<'a, F: FnMut(Str<'a>, Value<'a>) -> ControlFlow<()>>(
&'a self,
for_each: F,
) -> ControlFlow<()>
fn for_each<'a, F: FnMut(Str<'a>, Value<'a>) -> ControlFlow<()>>( &'a self, for_each: F, ) -> ControlFlow<()>
Source§fn get<'v, K: ToStr>(&'v self, key: K) -> Option<Value<'v>>
fn get<'v, K: ToStr>(&'v self, key: K) -> Option<Value<'v>>
Get the value for a given key, if it’s present. Read more
Source§fn is_unique(&self) -> bool
fn is_unique(&self) -> bool
Whether the collection is known not to contain any duplicate keys. Read more
Source§fn pull<'kv, V, K>(&'kv self, key: K) -> Option<V>
fn pull<'kv, V, K>(&'kv self, key: K) -> Option<V>
Get the value for a given key, if it’s present as an instance of
V. Read moreSource§fn collect<'kv, C>(&'kv self) -> Cwhere
C: FromProps<'kv>,
fn collect<'kv, C>(&'kv self) -> Cwhere
C: FromProps<'kv>,
Collect these properties into another collection type. Read more
Source§fn as_map(&self) -> &AsMap<Self>where
Self: Sized,
fn as_map(&self) -> &AsMap<Self>where
Self: Sized,
Get an adapter that will serialize properties as a map.
Auto Trait Implementations§
impl Freeze for ThreadLocalCtxtFrame
impl !RefUnwindSafe for ThreadLocalCtxtFrame
impl Send for ThreadLocalCtxtFrame
impl Sync for ThreadLocalCtxtFrame
impl Unpin for ThreadLocalCtxtFrame
impl UnsafeUnpin for ThreadLocalCtxtFrame
impl !UnwindSafe for ThreadLocalCtxtFrame
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