#[repr(C, packed(1))]pub struct ScOutputSignalParams {
pub width: u16,
pub delay: u16,
pub polarity: u8,
}Fields§
§width: u16!< Range in [1,65535]. The width of output signal.
delay: u16!< Range in [0,65535]. The delay time of output signal.
polarity: u8!< Range in [0,1]. 0 for active low; 1 for active high.
Trait Implementations§
Source§impl Clone for ScOutputSignalParams
impl Clone for ScOutputSignalParams
Source§fn clone(&self) -> ScOutputSignalParams
fn clone(&self) -> ScOutputSignalParams
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 ScOutputSignalParams
Source§impl Debug for ScOutputSignalParams
impl Debug for ScOutputSignalParams
Source§impl Default for ScOutputSignalParams
impl Default for ScOutputSignalParams
Source§fn default() -> ScOutputSignalParams
fn default() -> ScOutputSignalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScOutputSignalParams
impl RefUnwindSafe for ScOutputSignalParams
impl Send for ScOutputSignalParams
impl Sync for ScOutputSignalParams
impl Unpin for ScOutputSignalParams
impl UnsafeUnpin for ScOutputSignalParams
impl UnwindSafe for ScOutputSignalParams
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