pub struct MIT { /* private fields */ }
Expand description
MIT license
Methods from Deref<Target = SpdxLicense<MitTokens>>§
Sourcepub fn build_header(
&self,
replacement_values: L::TokenReplacementValues,
) -> Header<SingleLineChecker>
pub fn build_header( &self, replacement_values: L::TokenReplacementValues, ) -> Header<SingleLineChecker>
Build a header for this license using the provided year
and copyright_holder
to
interpolate into the license.
The license’s header is used, if the license offers one, otherwise the main license text
is used instead.
Trait Implementations§
Source§impl Deref for MIT
impl Deref for MIT
Source§type Target = SpdxLicense<MitTokens>
type Target = SpdxLicense<MitTokens>
The resulting type after dereferencing.
Source§fn deref(&self) -> &SpdxLicense<MitTokens>
fn deref(&self) -> &SpdxLicense<MitTokens>
Dereferences the value.
impl LazyStatic for MIT
Auto Trait Implementations§
impl Freeze for MIT
impl RefUnwindSafe for MIT
impl Send for MIT
impl Sync for MIT
impl Unpin for MIT
impl UnwindSafe for MIT
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