[−][src]Struct wasmbin::builtins::Lazy
Implementations
impl<T> Lazy<T>
[src]
impl<T: Decode> Lazy<T>
[src]
pub fn try_contents(&self) -> Result<&T, DecodeError>
[src]
pub fn try_contents_mut(&mut self) -> Result<&mut T, DecodeError>
[src]
pub fn try_into_contents(self) -> Result<T, DecodeError>
[src]
Trait Implementations
impl<T: Arbitrary> Arbitrary for Lazy<T>
[src]
fn arbitrary(u: &mut Unstructured<'_>) -> Result<Self>
[src]
fn arbitrary_take_rest(u: Unstructured<'_>) -> Result<Self>
[src]
fn size_hint(depth: usize) -> (usize, Option<usize>)
[src]
fn shrink(&self) -> Box<dyn Iterator<Item = Self>>
[src]
impl<T: Clone> Clone for Lazy<T>
[src]
impl<T: Debug> Debug for Lazy<T>
[src]
impl<T: Decode> Decode for Lazy<T>
[src]
fn decode(r: &mut impl Read) -> Result<Self, DecodeError>
[src]
impl<T: Default> Default for Lazy<T>
[src]
impl<T: Encode> Encode for Lazy<T>
[src]
impl<T: Decode + Eq> Eq for Lazy<T>
[src]
impl<T> From<T> for Lazy<T>
[src]
impl<T: Decode + Hash> Hash for Lazy<T>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: Decode + PartialEq> PartialEq<Lazy<T>> for Lazy<T>
[src]
impl<T: Decode + Visit> Visit for Lazy<T>
[src]
fn visit_children<'a, VisitT: 'static, E, F: FnMut(&'a VisitT) -> Result<(), E>>(
&'a self,
f: &mut F
) -> Result<(), VisitError<E>>
[src]
&'a self,
f: &mut F
) -> Result<(), VisitError<E>>
fn visit_children_mut<VisitT: 'static, E, F: FnMut(&mut VisitT) -> Result<(), E>>(
&mut self,
f: &mut F
) -> Result<(), VisitError<E>>
[src]
&mut self,
f: &mut F
) -> Result<(), VisitError<E>>
fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>(
&'a self,
f: F
) -> Result<(), VisitError<R::Error>>
[src]
&'a self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>(
&mut self,
f: F
) -> Result<(), VisitError<R::Error>>
[src]
&mut self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit_child<'a, T: 'static, E, F: FnMut(&'a T) -> Result<(), E>>(
&'a self,
f: &mut F
) -> Result<(), VisitError<E>>
[src]
&'a self,
f: &mut F
) -> Result<(), VisitError<E>>
fn visit_child_mut<T: 'static, E, F: FnMut(&mut T) -> Result<(), E>>(
&mut self,
f: &mut F
) -> Result<(), VisitError<E>>
[src]
&mut self,
f: &mut F
) -> Result<(), VisitError<E>>
impl<T: WasmbinCountable> WasmbinCountable for Lazy<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Lazy<T> where
T: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
impl<T> Send for Lazy<T> where
T: Send,
T: Send,
impl<T> Sync for Lazy<T> where
T: Send + Sync,
T: Send + Sync,
impl<T> Unpin for Lazy<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Lazy<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,