Struct Phaseshift
#[repr(transparent)]pub struct Phaseshift(pub u32);
Expand description
Parameter used in TPM, provided by software
Tuple Fields§
§0: u32
Implementations§
§impl Phaseshift
impl Phaseshift
pub const fn phaseshift(&self) -> u16
pub const fn phaseshift(&self) -> u16
Phase shift used in TPM calculation
pub fn set_phaseshift(&mut self, val: u16)
pub fn set_phaseshift(&mut self, val: u16)
Phase shift used in TPM calculation
Trait Implementations§
§impl Clone for Phaseshift
impl Clone for Phaseshift
§fn clone(&self) -> Phaseshift
fn clone(&self) -> Phaseshift
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 more§impl Default for Phaseshift
impl Default for Phaseshift
§fn default() -> Phaseshift
fn default() -> Phaseshift
Returns the “default value” for a type. Read more
§impl PartialEq for Phaseshift
impl PartialEq for Phaseshift
impl Copy for Phaseshift
impl Eq for Phaseshift
impl StructuralPartialEq for Phaseshift
Auto Trait Implementations§
impl Freeze for Phaseshift
impl RefUnwindSafe for Phaseshift
impl Send for Phaseshift
impl Sync for Phaseshift
impl Unpin for Phaseshift
impl UnwindSafe for Phaseshift
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
)