Struct license::licenses::Bsd2ClauseFirstLines
source · pub struct Bsd2ClauseFirstLines;
Expand description
The BSD 2-Clause - first lines requirement.
Trait Implementations§
source§impl Clone for Bsd2ClauseFirstLines
impl Clone for Bsd2ClauseFirstLines
source§fn clone(&self) -> Bsd2ClauseFirstLines
fn clone(&self) -> Bsd2ClauseFirstLines
Returns a copy 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 Debug for Bsd2ClauseFirstLines
impl Debug for Bsd2ClauseFirstLines
source§impl Default for Bsd2ClauseFirstLines
impl Default for Bsd2ClauseFirstLines
source§fn default() -> Bsd2ClauseFirstLines
fn default() -> Bsd2ClauseFirstLines
Returns the “default value” for a type. Read more
source§impl Hash for Bsd2ClauseFirstLines
impl Hash for Bsd2ClauseFirstLines
source§impl License for Bsd2ClauseFirstLines
impl License for Bsd2ClauseFirstLines
source§fn is_osi_approved(&self) -> bool
fn is_osi_approved(&self) -> bool
Says if the license is OSI approved. Read more
source§fn is_fsf_libre(&self) -> bool
fn is_fsf_libre(&self) -> bool
Says if the license is FSF Libre. Read more
source§fn is_deprecated(&self) -> bool
fn is_deprecated(&self) -> bool
Says if the license is deprecated.
source§impl Ord for Bsd2ClauseFirstLines
impl Ord for Bsd2ClauseFirstLines
source§fn cmp(&self, other: &Bsd2ClauseFirstLines) -> Ordering
fn cmp(&self, other: &Bsd2ClauseFirstLines) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Bsd2ClauseFirstLines
impl PartialEq for Bsd2ClauseFirstLines
source§fn eq(&self, other: &Bsd2ClauseFirstLines) -> bool
fn eq(&self, other: &Bsd2ClauseFirstLines) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Bsd2ClauseFirstLines
impl PartialOrd for Bsd2ClauseFirstLines
source§fn partial_cmp(&self, other: &Bsd2ClauseFirstLines) -> Option<Ordering>
fn partial_cmp(&self, other: &Bsd2ClauseFirstLines) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Bsd2ClauseFirstLines
impl Eq for Bsd2ClauseFirstLines
impl StructuralPartialEq for Bsd2ClauseFirstLines
Auto Trait Implementations§
impl Freeze for Bsd2ClauseFirstLines
impl RefUnwindSafe for Bsd2ClauseFirstLines
impl Send for Bsd2ClauseFirstLines
impl Sync for Bsd2ClauseFirstLines
impl Unpin for Bsd2ClauseFirstLines
impl UnwindSafe for Bsd2ClauseFirstLines
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