Struct license::licenses::BsdProtection
source · pub struct BsdProtection;
Expand description
The BSD Protection License.
Trait Implementations§
source§impl Clone for BsdProtection
impl Clone for BsdProtection
source§fn clone(&self) -> BsdProtection
fn clone(&self) -> BsdProtection
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 BsdProtection
impl Debug for BsdProtection
source§impl Default for BsdProtection
impl Default for BsdProtection
source§fn default() -> BsdProtection
fn default() -> BsdProtection
Returns the “default value” for a type. Read more
source§impl Hash for BsdProtection
impl Hash for BsdProtection
source§impl License for BsdProtection
impl License for BsdProtection
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 BsdProtection
impl Ord for BsdProtection
source§fn cmp(&self, other: &BsdProtection) -> Ordering
fn cmp(&self, other: &BsdProtection) -> 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 BsdProtection
impl PartialEq for BsdProtection
source§fn eq(&self, other: &BsdProtection) -> bool
fn eq(&self, other: &BsdProtection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BsdProtection
impl PartialOrd for BsdProtection
source§fn partial_cmp(&self, other: &BsdProtection) -> Option<Ordering>
fn partial_cmp(&self, other: &BsdProtection) -> 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 BsdProtection
impl Eq for BsdProtection
impl StructuralPartialEq for BsdProtection
Auto Trait Implementations§
impl Freeze for BsdProtection
impl RefUnwindSafe for BsdProtection
impl Send for BsdProtection
impl Sync for BsdProtection
impl Unpin for BsdProtection
impl UnwindSafe for BsdProtection
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