pub enum ClockEntry {
Single {
domain: ClockDomain,
editable: bool,
frequency_delta: Delta<KilohertzDelta>,
frequency: Kilohertz,
},
Range {
domain: ClockDomain,
editable: bool,
frequency_delta: Delta<KilohertzDelta>,
frequency_range: Range<Kilohertz>,
voltage_domain: VoltageDomain,
voltage_range: Range<Microvolts>,
},
}Variants§
Single
Range
Fields
§
domain: ClockDomain§
frequency_delta: Delta<KilohertzDelta>§
voltage_domain: VoltageDomain§
voltage_range: Range<Microvolts>Implementations§
Source§impl ClockEntry
impl ClockEntry
pub fn domain(&self) -> ClockDomain
pub fn editable(&self) -> bool
pub fn frequency_delta(&self) -> Delta<KilohertzDelta>
Trait Implementations§
Source§impl Clone for ClockEntry
impl Clone for ClockEntry
Source§fn clone(&self) -> ClockEntry
fn clone(&self) -> ClockEntry
Returns a duplicate 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 moreSource§impl Debug for ClockEntry
impl Debug for ClockEntry
Source§impl Hash for ClockEntry
impl Hash for ClockEntry
Source§impl Ord for ClockEntry
impl Ord for ClockEntry
Source§fn cmp(&self, other: &ClockEntry) -> Ordering
fn cmp(&self, other: &ClockEntry) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ClockEntry
impl PartialEq for ClockEntry
Source§impl PartialOrd for ClockEntry
impl PartialOrd for ClockEntry
impl Copy for ClockEntry
impl Eq for ClockEntry
impl StructuralPartialEq for ClockEntry
Auto Trait Implementations§
impl Freeze for ClockEntry
impl RefUnwindSafe for ClockEntry
impl Send for ClockEntry
impl Sync for ClockEntry
impl Unpin for ClockEntry
impl UnwindSafe for ClockEntry
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