pub struct Displayable<'a, S: Scope, T: Textify> {
scope: &'a S,
value: &'a T,
}
Fields§
§scope: &'a S
§value: &'a T
Implementations§
Trait Implementations§
Source§impl<'a, S: Clone + Scope, T: Clone + Textify> Clone for Displayable<'a, S, T>
impl<'a, S: Clone + Scope, T: Clone + Textify> Clone for Displayable<'a, S, T>
Source§fn clone(&self) -> Displayable<'a, S, T>
fn clone(&self) -> Displayable<'a, S, T>
Returns a copy 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 moreimpl<'a, S: Copy + Scope, T: Copy + Textify> Copy for Displayable<'a, S, T>
Auto Trait Implementations§
impl<'a, S, T> Freeze for Displayable<'a, S, T>
impl<'a, S, T> RefUnwindSafe for Displayable<'a, S, T>where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, S, T> Send for Displayable<'a, S, T>
impl<'a, S, T> Sync for Displayable<'a, S, T>
impl<'a, S, T> Unpin for Displayable<'a, S, T>
impl<'a, S, T> UnwindSafe for Displayable<'a, S, T>where
S: RefUnwindSafe,
T: RefUnwindSafe,
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