pub struct ElementState {
pub type_specific: Option<TypeSpecificElementState>,
pub vendor_specific_data: Option<Vec<u8>>,
pub started: bool,
pub bypassed: Option<bool>,
pub turn_on_delay_ns: Option<zx_duration_t>,
pub turn_off_delay_ns: Option<zx_duration_t>,
pub processing_delay_ns: Option<zx_duration_t>,
}
Fields§
§type_specific: Option<TypeSpecificElementState>
§vendor_specific_data: Option<Vec<u8>>
§started: bool
§bypassed: Option<bool>
§turn_on_delay_ns: Option<zx_duration_t>
§turn_off_delay_ns: Option<zx_duration_t>
§processing_delay_ns: Option<zx_duration_t>
Trait Implementations§
Source§impl Clone for ElementState
impl Clone for ElementState
Source§fn clone(&self) -> ElementState
fn clone(&self) -> ElementState
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 moreSource§impl Debug for ElementState
impl Debug for ElementState
Source§impl From<ElementState> for ElementState
impl From<ElementState> for ElementState
Source§fn from(value: ElementState) -> Self
fn from(value: ElementState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ElementState
impl PartialEq for ElementState
Source§impl TryFrom<ElementState> for ElementState
impl TryFrom<ElementState> for ElementState
impl StructuralPartialEq for ElementState
Auto Trait Implementations§
impl Freeze for ElementState
impl RefUnwindSafe for ElementState
impl Send for ElementState
impl Sync for ElementState
impl Unpin for ElementState
impl UnwindSafe for ElementState
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
)