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
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
)