pub struct AssertChipSelect { /* private fields */ }
Expand description
Object that keeps the CS asserted, deasserting when it goes out of scope, (unless another instance keeps CS asserted longer.)
Implementations§
Source§impl AssertChipSelect
impl AssertChipSelect
pub fn new(target: Rc<dyn TargetChipDeassert>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssertChipSelect
impl !RefUnwindSafe for AssertChipSelect
impl !Send for AssertChipSelect
impl !Sync for AssertChipSelect
impl Unpin for AssertChipSelect
impl !UnwindSafe for AssertChipSelect
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