Struct license::licenses::Bsd2Clause
source · pub struct Bsd2Clause;
Expand description
The BSD 2-Clause “Simplified” License.
Trait Implementations§
source§impl Clone for Bsd2Clause
impl Clone for Bsd2Clause
source§fn clone(&self) -> Bsd2Clause
fn clone(&self) -> Bsd2Clause
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 Bsd2Clause
impl Debug for Bsd2Clause
source§impl Default for Bsd2Clause
impl Default for Bsd2Clause
source§fn default() -> Bsd2Clause
fn default() -> Bsd2Clause
Returns the “default value” for a type. Read more
source§impl Hash for Bsd2Clause
impl Hash for Bsd2Clause
source§impl License for Bsd2Clause
impl License for Bsd2Clause
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 Bsd2Clause
impl Ord for Bsd2Clause
source§fn cmp(&self, other: &Bsd2Clause) -> Ordering
fn cmp(&self, other: &Bsd2Clause) -> 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 Bsd2Clause
impl PartialEq for Bsd2Clause
source§impl PartialOrd for Bsd2Clause
impl PartialOrd for Bsd2Clause
impl Copy for Bsd2Clause
impl Eq for Bsd2Clause
impl StructuralPartialEq for Bsd2Clause
Auto Trait Implementations§
impl Freeze for Bsd2Clause
impl RefUnwindSafe for Bsd2Clause
impl Send for Bsd2Clause
impl Sync for Bsd2Clause
impl Unpin for Bsd2Clause
impl UnwindSafe for Bsd2Clause
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)