pub struct MachineCycleLayout {
pub taken: MachineCycleLengths,
pub not_taken: Option<MachineCycleLengths>,
}Fields§
§taken: MachineCycleLengths§not_taken: Option<MachineCycleLengths>Implementations§
Source§impl MachineCycleLayout
impl MachineCycleLayout
pub const fn fixed(cycles: MachineCycleLengths) -> Self
pub fn total_t_states(self, branch_taken: bool) -> u8
Trait Implementations§
Source§impl Clone for MachineCycleLayout
impl Clone for MachineCycleLayout
Source§fn clone(&self) -> MachineCycleLayout
fn clone(&self) -> MachineCycleLayout
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 Copy for MachineCycleLayout
Source§impl Debug for MachineCycleLayout
impl Debug for MachineCycleLayout
impl Eq for MachineCycleLayout
Source§impl PartialEq for MachineCycleLayout
impl PartialEq for MachineCycleLayout
impl StructuralPartialEq for MachineCycleLayout
Auto Trait Implementations§
impl Freeze for MachineCycleLayout
impl RefUnwindSafe for MachineCycleLayout
impl Send for MachineCycleLayout
impl Sync for MachineCycleLayout
impl Unpin for MachineCycleLayout
impl UnsafeUnpin for MachineCycleLayout
impl UnwindSafe for MachineCycleLayout
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