pub struct ParamIdentity<T>(/* private fields */);Expand description
Identity wrapper for ConfigParamWrapper.
Trait Implementations§
Source§impl<T> ConfigParamWrapper<T> for ParamIdentity<T>
impl<T> ConfigParamWrapper<T> for ParamIdentity<T>
Source§fn into_inner(self) -> T
fn into_inner(self) -> T
Converts this wrapper into an underlying type.
Source§fn wrap_inner(inner: &T) -> &Self
fn wrap_inner(inner: &T) -> &Self
Converts an inner type into a wrapper.
Source§impl<'de, T: Deserialize<'de>> Deserialize<'de> for ParamIdentity<T>
impl<'de, T: Deserialize<'de>> Deserialize<'de> for ParamIdentity<T>
Source§fn 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
Source§impl<'a, T: Load<'a>> Load<'a> for ParamIdentity<T>
impl<'a, T: Load<'a>> Load<'a> for ParamIdentity<T>
Source§impl<T: Serialize> Serialize for ParamIdentity<T>
impl<T: Serialize> Serialize for ParamIdentity<T>
Source§impl<T: Store> Store for ParamIdentity<T>
impl<T: Store> Store for ParamIdentity<T>
Source§fn store_into(
&self,
builder: &mut CellBuilder,
cx: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, cx: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
Auto Trait Implementations§
impl<T> Freeze for ParamIdentity<T>where
T: Freeze,
impl<T> RefUnwindSafe for ParamIdentity<T>where
T: RefUnwindSafe,
impl<T> Send for ParamIdentity<T>where
T: Send,
impl<T> Sync for ParamIdentity<T>where
T: Sync,
impl<T> Unpin for ParamIdentity<T>where
T: Unpin,
impl<T> UnwindSafe for ParamIdentity<T>where
T: 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