pub struct PrettyConstraint<'a> {
pub constraint: &'a Constraint,
pub pretty: &'a str,
}Expand description
A constraint with its pretty string (getPrettyString).
Fields§
§constraint: &'a Constraint§pretty: &'a strTrait Implementations§
Source§impl<'a> Clone for PrettyConstraint<'a>
impl<'a> Clone for PrettyConstraint<'a>
Source§fn clone(&self) -> PrettyConstraint<'a>
fn clone(&self) -> PrettyConstraint<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for PrettyConstraint<'a>
Auto Trait Implementations§
impl<'a> Freeze for PrettyConstraint<'a>
impl<'a> RefUnwindSafe for PrettyConstraint<'a>
impl<'a> Send for PrettyConstraint<'a>
impl<'a> Sync for PrettyConstraint<'a>
impl<'a> Unpin for PrettyConstraint<'a>
impl<'a> UnsafeUnpin for PrettyConstraint<'a>
impl<'a> UnwindSafe for PrettyConstraint<'a>
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