pub struct InkWrapper<T> {
pub handle_id: HandleId,
pub data: T,
}Expand description
wrapper with handle ID
Fields§
§handle_id: HandleId§data: TImplementations§
Trait Implementations§
Source§impl<T: Clone> Clone for InkWrapper<T>
impl<T: Clone> Clone for InkWrapper<T>
Source§fn clone(&self) -> InkWrapper<T>
fn clone(&self) -> InkWrapper<T>
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<T: Debug> Debug for InkWrapper<T>
impl<T: Debug> Debug for InkWrapper<T>
Source§impl<T> Default for InkWrapper<T>where
T: Default,
impl<T> Default for InkWrapper<T>where
T: Default,
Source§impl<'de, T> Deserialize<'de> for InkWrapper<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for InkWrapper<T>where
T: Deserialize<'de>,
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<T> Display for InkWrapper<T>where
T: Display,
impl<T> Display for InkWrapper<T>where
T: Display,
Source§impl<T> InkChildren for InkWrapper<T>where
T: InkChildren,
impl<T> InkChildren for InkWrapper<T>where
T: InkChildren,
Source§impl<T> PartialEq for InkWrapper<T>where
T: PartialEq<T>,
impl<T> PartialEq for InkWrapper<T>where
T: PartialEq<T>,
Auto Trait Implementations§
impl<T> Freeze for InkWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for InkWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for InkWrapper<T>where
T: Send,
impl<T> Sync for InkWrapper<T>where
T: Sync,
impl<T> Unpin for InkWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for InkWrapper<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