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