pub enum LicenseExpr<'a> {
License(&'a str),
Exception(&'a str),
And,
Or,
With,
}Variants§
Trait Implementations§
Source§impl<'a> Clone for LicenseExpr<'a>
impl<'a> Clone for LicenseExpr<'a>
Source§fn clone(&self) -> LicenseExpr<'a>
fn clone(&self) -> LicenseExpr<'a>
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 moreSource§impl<'a> Debug for LicenseExpr<'a>
impl<'a> Debug for LicenseExpr<'a>
Source§impl<'a> Display for LicenseExpr<'a>
impl<'a> Display for LicenseExpr<'a>
impl<'a> Copy for LicenseExpr<'a>
Auto Trait Implementations§
impl<'a> Freeze for LicenseExpr<'a>
impl<'a> RefUnwindSafe for LicenseExpr<'a>
impl<'a> Send for LicenseExpr<'a>
impl<'a> Sync for LicenseExpr<'a>
impl<'a> Unpin for LicenseExpr<'a>
impl<'a> UnwindSafe for LicenseExpr<'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