pub struct EPL_2_0 { /* private fields */ }Expand description
EPL 2.0 license
Methods from Deref<Target = SpdxLicense<NoTokens>>§
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 EPL_2_0
impl Deref for EPL_2_0
Source§type Target = SpdxLicense<NoTokens>
type Target = SpdxLicense<NoTokens>
The resulting type after dereferencing.
Source§fn deref(&self) -> &SpdxLicense<NoTokens>
fn deref(&self) -> &SpdxLicense<NoTokens>
Dereferences the value.
impl LazyStatic for EPL_2_0
Auto Trait Implementations§
impl Freeze for EPL_2_0
impl RefUnwindSafe for EPL_2_0
impl Send for EPL_2_0
impl Sync for EPL_2_0
impl Unpin for EPL_2_0
impl UnwindSafe for EPL_2_0
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