[−][src]Struct bcder::encode::Slice
A wrapper for a slice of encodable values.
A value of this type will take something that can provide a reference to a slice of some value and a closure that converts the values of the slice into something encodable.
Implementations
impl<T, F, U, V> Slice<T, F, U, V> where
T: AsRef<[U]>,
F: Fn(&U) -> V,
[src]
T: AsRef<[U]>,
F: Fn(&U) -> V,
Trait Implementations
Auto Trait Implementations
impl<T, F, U, V> RefUnwindSafe for Slice<T, F, U, V> where
F: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
V: RefUnwindSafe,
[src]
F: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
V: RefUnwindSafe,
impl<T, F, U, V> Send for Slice<T, F, U, V> where
F: Send,
T: Send,
U: Send,
V: Send,
[src]
F: Send,
T: Send,
U: Send,
V: Send,
impl<T, F, U, V> Sync for Slice<T, F, U, V> where
F: Sync,
T: Sync,
U: Sync,
V: Sync,
[src]
F: Sync,
T: Sync,
U: Sync,
V: Sync,
impl<T, F, U, V> Unpin for Slice<T, F, U, V> where
F: Unpin,
T: Unpin,
U: Unpin,
V: Unpin,
[src]
F: Unpin,
T: Unpin,
U: Unpin,
V: Unpin,
impl<T, F, U, V> UnwindSafe for Slice<T, F, U, V> where
F: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
V: UnwindSafe,
[src]
F: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,