pub struct Security(pub f32);
Expand description
Describes a security rating. A security rating is between -1.0 and 1.0.
Tuple Fields§
§0: f32
Trait Implementations§
source§impl From<&Security> for SecurityClass
impl From<&Security> for SecurityClass
source§impl From<Security> for SecurityClass
impl From<Security> for SecurityClass
source§impl PartialEq<Security> for Security
impl PartialEq<Security> for Security
source§impl PartialOrd<Security> for Security
impl PartialOrd<Security> for Security
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 Security
impl StructuralPartialEq for Security
Auto Trait Implementations§
impl RefUnwindSafe for Security
impl Send for Security
impl Sync for Security
impl Unpin for Security
impl UnwindSafe for Security
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