pub struct SecurityLabelProvenanceSemiringV0 {
pub zero: &'static str,
pub one: &'static str,
pub addition: &'static str,
pub multiplication: &'static str,
pub idempotent_addition: bool,
}Fields§
§zero: &'static str§one: &'static str§addition: &'static str§multiplication: &'static str§idempotent_addition: boolImplementations§
Trait Implementations§
Source§impl Clone for SecurityLabelProvenanceSemiringV0
impl Clone for SecurityLabelProvenanceSemiringV0
Source§fn clone(&self) -> SecurityLabelProvenanceSemiringV0
fn clone(&self) -> SecurityLabelProvenanceSemiringV0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for SecurityLabelProvenanceSemiringV0
Source§impl PartialEq for SecurityLabelProvenanceSemiringV0
impl PartialEq for SecurityLabelProvenanceSemiringV0
Source§fn eq(&self, other: &SecurityLabelProvenanceSemiringV0) -> bool
fn eq(&self, other: &SecurityLabelProvenanceSemiringV0) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ProvenanceSemiringV0 for SecurityLabelProvenanceSemiringV0
impl ProvenanceSemiringV0 for SecurityLabelProvenanceSemiringV0
const IDENTIFIER: &'static str = "securityLabel"
type Element = SecurityLabelV0
fn zero(&self) -> Self::Element
fn one(&self) -> Self::Element
fn add(&self, lhs: &Self::Element, rhs: &Self::Element) -> Self::Element
fn multiply(&self, lhs: &Self::Element, rhs: &Self::Element) -> Self::Element
fn idempotent_addition(&self) -> bool
fn semiring_identifier(&self) -> &'static str
impl StructuralPartialEq for SecurityLabelProvenanceSemiringV0
Auto Trait Implementations§
impl Freeze for SecurityLabelProvenanceSemiringV0
impl RefUnwindSafe for SecurityLabelProvenanceSemiringV0
impl Send for SecurityLabelProvenanceSemiringV0
impl Sync for SecurityLabelProvenanceSemiringV0
impl Unpin for SecurityLabelProvenanceSemiringV0
impl UnsafeUnpin for SecurityLabelProvenanceSemiringV0
impl UnwindSafe for SecurityLabelProvenanceSemiringV0
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.