Enum bq40z50::Error [−][src]
pub enum Error<I2cError> { I2cError(I2cError), }
Variants
Trait Implementations
impl<I2cError: Copy> Copy for Error<I2cError>
[src]
Auto Trait Implementations
impl<I2cError> RefUnwindSafe for Error<I2cError> where
I2cError: RefUnwindSafe,
I2cError: RefUnwindSafe,
impl<I2cError> Send for Error<I2cError> where
I2cError: Send,
I2cError: Send,
impl<I2cError> Sync for Error<I2cError> where
I2cError: Sync,
I2cError: Sync,
impl<I2cError> Unpin for Error<I2cError> where
I2cError: Unpin,
I2cError: Unpin,
impl<I2cError> UnwindSafe for Error<I2cError> where
I2cError: UnwindSafe,
I2cError: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more