pub struct AfType { /* private fields */ }
Expand description
Alternate function type settings.
Implementations§
Source§impl AfType
impl AfType
Sourcepub const fn output(output_type: OutputType, speed: Speed) -> Self
pub const fn output(output_type: OutputType, speed: Speed) -> Self
Output with output type and speed and no pull-up or pull-down.
Sourcepub const fn output_pull(
output_type: OutputType,
speed: Speed,
pull: Pull,
) -> Self
pub const fn output_pull( output_type: OutputType, speed: Speed, pull: Pull, ) -> Self
Output with output type, speed and pull-up or pull-down;
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AfType
impl RefUnwindSafe for AfType
impl Send for AfType
impl Sync for AfType
impl Unpin for AfType
impl UnwindSafe for AfType
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