Struct scsys_core::contexts::Context
source · pub struct Context<Cnf: Configurable> {
pub settings: Cnf,
}Fields
settings: CnfImplementations
sourceimpl<Cnf: Configurable> Context<Cnf>
impl<Cnf: Configurable> Context<Cnf>
Trait Implementations
sourceimpl<Cnf: Clone + Configurable> Clone for Context<Cnf>
impl<Cnf: Clone + Configurable> Clone for Context<Cnf>
sourceimpl<Cnf: Debug + Configurable> Debug for Context<Cnf>
impl<Cnf: Debug + Configurable> Debug for Context<Cnf>
sourceimpl<Cnf: Default + Configurable> Default for Context<Cnf>
impl<Cnf: Default + Configurable> Default for Context<Cnf>
sourceimpl<'de, Cnf: Configurable> Deserialize<'de> for Context<Cnf>where
Cnf: Deserialize<'de>,
impl<'de, Cnf: Configurable> Deserialize<'de> for Context<Cnf>where
Cnf: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<Cnf: Hash + Configurable> Hash for Context<Cnf>
impl<Cnf: Hash + Configurable> Hash for Context<Cnf>
sourceimpl<Cnf: PartialEq + Configurable> PartialEq<Context<Cnf>> for Context<Cnf>
impl<Cnf: PartialEq + Configurable> PartialEq<Context<Cnf>> for Context<Cnf>
sourceimpl<Cnf: Configurable> Serialize for Context<Cnf>where
Cnf: Serialize,
impl<Cnf: Configurable> Serialize for Context<Cnf>where
Cnf: Serialize,
impl<Cnf: Eq + Configurable> Eq for Context<Cnf>
impl<Cnf: Configurable> StructuralEq for Context<Cnf>
impl<Cnf: Configurable> StructuralPartialEq for Context<Cnf>
Auto Trait Implementations
impl<Cnf> RefUnwindSafe for Context<Cnf>where
Cnf: RefUnwindSafe,
impl<Cnf> Send for Context<Cnf>where
Cnf: Send,
impl<Cnf> Sync for Context<Cnf>where
Cnf: Sync,
impl<Cnf> Unpin for Context<Cnf>where
Cnf: Unpin,
impl<Cnf> UnwindSafe for Context<Cnf>where
Cnf: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.