Struct prototty_common::Decorated
source · pub struct Decorated<V, D> {
pub view: V,
pub decorator: D,
}
Expand description
Represents a particular view V
, decorated by a decorator D
.
Fields
view: V
decorator: D
Implementations
Trait Implementations
Auto Trait Implementations
impl<V, D> RefUnwindSafe for Decorated<V, D>where
D: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, D> Send for Decorated<V, D>where
D: Send,
V: Send,
impl<V, D> Sync for Decorated<V, D>where
D: Sync,
V: Sync,
impl<V, D> Unpin for Decorated<V, D>where
D: Unpin,
V: Unpin,
impl<V, D> UnwindSafe for Decorated<V, D>where
D: UnwindSafe,
V: 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