Enum hime_redist::utils::EitherMut [] [src]

pub enum EitherMut<'a, T: 'a> {
    Immutable(&'a T),
    Mutable(&'a mut T),
}

Represents a reference to a structure that can be either mutable or immutable

Variants

The immutable reference

The mutable reference

Methods

impl<'a, T: 'a> EitherMut<'a, T>
[src]

[src]

Gets a mutable reference

[src]

Get an immutable reference

Trait Implementations

Auto Trait Implementations

impl<'a, T> Send for EitherMut<'a, T> where
    T: Send + Sync

impl<'a, T> Sync for EitherMut<'a, T> where
    T: Sync