pub struct PowerSupplyVoltage(/* private fields */);Expand description
Represents a device power supply voltage.
Implementations§
Source§impl PowerSupplyVoltage
impl PowerSupplyVoltage
Sourcepub const fn new() -> PowerSupplyVoltage
pub const fn new() -> PowerSupplyVoltage
Creates a new PowerSupplyVoltage.
Sourcepub const fn create(val: u32) -> PowerSupplyVoltage
pub const fn create(val: u32) -> PowerSupplyVoltage
Creates a new PowerSupplyVoltage from the provided parameter.
Sourcepub fn into_inner(self) -> u32
pub fn into_inner(self) -> u32
Converts into the inner representation of PowerSupplyVoltage.
Trait Implementations§
Source§impl Clone for PowerSupplyVoltage
impl Clone for PowerSupplyVoltage
Source§fn clone(&self) -> PowerSupplyVoltage
fn clone(&self) -> PowerSupplyVoltage
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 PowerSupplyVoltage
impl Debug for PowerSupplyVoltage
Source§impl Default for PowerSupplyVoltage
impl Default for PowerSupplyVoltage
Source§fn default() -> PowerSupplyVoltage
fn default() -> PowerSupplyVoltage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PowerSupplyVoltage
impl<'de> Deserialize<'de> for PowerSupplyVoltage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PowerSupplyVoltage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PowerSupplyVoltage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PowerSupplyVoltage
impl Display for PowerSupplyVoltage
Source§impl From<&PowerSupplyVoltage> for XfsMember
impl From<&PowerSupplyVoltage> for XfsMember
Source§fn from(val: &PowerSupplyVoltage) -> XfsMember
fn from(val: &PowerSupplyVoltage) -> XfsMember
Converts to this type from the input type.
Source§impl From<&PowerSupplyVoltage> for XfsValue
impl From<&PowerSupplyVoltage> for XfsValue
Source§fn from(val: &PowerSupplyVoltage) -> XfsValue
fn from(val: &PowerSupplyVoltage) -> XfsValue
Converts to this type from the input type.
Source§impl From<&i32> for PowerSupplyVoltage
impl From<&i32> for PowerSupplyVoltage
Source§fn from(val: &i32) -> PowerSupplyVoltage
fn from(val: &i32) -> PowerSupplyVoltage
Converts to this type from the input type.
Source§impl From<&u32> for PowerSupplyVoltage
impl From<&u32> for PowerSupplyVoltage
Source§fn from(val: &u32) -> PowerSupplyVoltage
fn from(val: &u32) -> PowerSupplyVoltage
Converts to this type from the input type.
Source§impl From<PowerSupplyVoltage> for XfsMember
impl From<PowerSupplyVoltage> for XfsMember
Source§fn from(val: PowerSupplyVoltage) -> XfsMember
fn from(val: PowerSupplyVoltage) -> XfsMember
Converts to this type from the input type.
Source§impl From<PowerSupplyVoltage> for XfsValue
impl From<PowerSupplyVoltage> for XfsValue
Source§fn from(val: PowerSupplyVoltage) -> XfsValue
fn from(val: PowerSupplyVoltage) -> XfsValue
Converts to this type from the input type.
Source§impl From<i32> for PowerSupplyVoltage
impl From<i32> for PowerSupplyVoltage
Source§fn from(val: i32) -> PowerSupplyVoltage
fn from(val: i32) -> PowerSupplyVoltage
Converts to this type from the input type.
Source§impl From<u32> for PowerSupplyVoltage
impl From<u32> for PowerSupplyVoltage
Source§fn from(val: u32) -> PowerSupplyVoltage
fn from(val: u32) -> PowerSupplyVoltage
Converts to this type from the input type.
Source§impl PartialEq for PowerSupplyVoltage
impl PartialEq for PowerSupplyVoltage
Source§impl Serialize for PowerSupplyVoltage
impl Serialize for PowerSupplyVoltage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&XfsMember> for PowerSupplyVoltage
impl TryFrom<&XfsMember> for PowerSupplyVoltage
Source§impl TryFrom<&XfsValue> for PowerSupplyVoltage
impl TryFrom<&XfsValue> for PowerSupplyVoltage
Source§impl TryFrom<XfsMember> for PowerSupplyVoltage
impl TryFrom<XfsMember> for PowerSupplyVoltage
Source§impl TryFrom<XfsValue> for PowerSupplyVoltage
impl TryFrom<XfsValue> for PowerSupplyVoltage
impl Copy for PowerSupplyVoltage
impl Eq for PowerSupplyVoltage
impl StructuralPartialEq for PowerSupplyVoltage
Auto Trait Implementations§
impl Freeze for PowerSupplyVoltage
impl RefUnwindSafe for PowerSupplyVoltage
impl Send for PowerSupplyVoltage
impl Sync for PowerSupplyVoltage
impl Unpin for PowerSupplyVoltage
impl UnwindSafe for PowerSupplyVoltage
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