pub struct Implements<Expr, Ifaces>(pub Expr, pub Ifaces);Expand description
The “implements” keyword. Renders as Expr implements Iface1, Iface2, Iface3, ....
The interfaces must be a sequence. If it is empty, then only Expr will be rendered.
Tuple Fields§
§0: Expr§1: IfacesTrait Implementations§
Source§impl<Expr: Clone, Ifaces: Clone> Clone for Implements<Expr, Ifaces>
impl<Expr: Clone, Ifaces: Clone> Clone for Implements<Expr, Ifaces>
Source§fn clone(&self) -> Implements<Expr, Ifaces>
fn clone(&self) -> Implements<Expr, Ifaces>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<Expr, Ifaces> Freeze for Implements<Expr, Ifaces>
impl<Expr, Ifaces> RefUnwindSafe for Implements<Expr, Ifaces>where
Expr: RefUnwindSafe,
Ifaces: RefUnwindSafe,
impl<Expr, Ifaces> Send for Implements<Expr, Ifaces>
impl<Expr, Ifaces> Sync for Implements<Expr, Ifaces>
impl<Expr, Ifaces> Unpin for Implements<Expr, Ifaces>
impl<Expr, Ifaces> UnwindSafe for Implements<Expr, Ifaces>where
Expr: UnwindSafe,
Ifaces: 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