Enum debian_copyright::License
source · pub enum License {
Name(String),
Text(String),
Named(String, String),
}Variants§
Implementations§
Trait Implementations§
source§impl From<LicenseParagraph> for License
impl From<LicenseParagraph> for License
source§fn from(p: LicenseParagraph) -> Self
fn from(p: LicenseParagraph) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for License
impl RefUnwindSafe for License
impl Send for License
impl Sync for License
impl Unpin for License
impl UnwindSafe for License
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