#[repr(u16)]pub enum AlarmSeverity {
None = 0,
Minor = 1,
Major = 2,
Invalid = 3,
}Variants§
Implementations§
Source§impl AlarmSeverity
impl AlarmSeverity
pub fn try_from_raw(raw: u16) -> Option<Self>
pub fn raw(&self) -> epicsAlarmSeverity
Trait Implementations§
Source§impl Clone for AlarmSeverity
impl Clone for AlarmSeverity
Source§fn clone(&self) -> AlarmSeverity
fn clone(&self) -> AlarmSeverity
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 AlarmSeverity
impl Debug for AlarmSeverity
Source§impl Default for AlarmSeverity
impl Default for AlarmSeverity
Source§fn default() -> AlarmSeverity
fn default() -> AlarmSeverity
Returns the “default value” for a type. Read more
Source§impl Hash for AlarmSeverity
impl Hash for AlarmSeverity
Source§impl PartialEq for AlarmSeverity
impl PartialEq for AlarmSeverity
impl Copy for AlarmSeverity
impl Eq for AlarmSeverity
impl StructuralPartialEq for AlarmSeverity
Auto Trait Implementations§
impl Freeze for AlarmSeverity
impl RefUnwindSafe for AlarmSeverity
impl Send for AlarmSeverity
impl Sync for AlarmSeverity
impl Unpin for AlarmSeverity
impl UnwindSafe for AlarmSeverity
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