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> Freeze for Decorated<V, D>
impl<V, D> RefUnwindSafe for Decorated<V, D>where
V: RefUnwindSafe,
D: RefUnwindSafe,
impl<V, D> Send for Decorated<V, D>
impl<V, D> Sync for Decorated<V, D>
impl<V, D> Unpin for Decorated<V, D>
impl<V, D> UnwindSafe for Decorated<V, D>where
V: UnwindSafe,
D: 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