pub struct CpsVectorEntry {
pub c_and_r_regime_mask: u8,
pub cps_vector: Vec<u8>,
}Expand description
One entry in the export_controlled_cps CPS vector (Table 8, §5.4).
Layout per entry: C_and_R_regime_mask(8) || cps_vector_length(16) ||
cps_vector_byte[cps_vector_length].
Fields§
§c_and_r_regime_mask: u8C_and_R_regime_mask — identifies which C&R regimes this vector applies to.
cps_vector: Vec<u8>cps_vector_byte payload — length encoded as cps_vector_length(16).
Trait Implementations§
Source§impl Clone for CpsVectorEntry
impl Clone for CpsVectorEntry
Source§fn clone(&self) -> CpsVectorEntry
fn clone(&self) -> CpsVectorEntry
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 moreSource§impl Debug for CpsVectorEntry
impl Debug for CpsVectorEntry
impl Eq for CpsVectorEntry
Source§impl PartialEq for CpsVectorEntry
impl PartialEq for CpsVectorEntry
Source§fn eq(&self, other: &CpsVectorEntry) -> bool
fn eq(&self, other: &CpsVectorEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CpsVectorEntry
impl Serialize for CpsVectorEntry
impl StructuralPartialEq for CpsVectorEntry
Auto Trait Implementations§
impl Freeze for CpsVectorEntry
impl RefUnwindSafe for CpsVectorEntry
impl Send for CpsVectorEntry
impl Sync for CpsVectorEntry
impl Unpin for CpsVectorEntry
impl UnsafeUnpin for CpsVectorEntry
impl UnwindSafe for CpsVectorEntry
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