Enum rd_agent_intf::slices::Slice
source · [−]pub enum Slice {
Init,
Host,
User,
Sys,
Work,
Side,
}
Variants
Init
Host
User
Sys
Work
Side
Implementations
Trait Implementations
sourceimpl Index<Slice> for SliceKnobs
impl Index<Slice> for SliceKnobs
sourceimpl IndexMut<Slice> for SliceKnobs
impl IndexMut<Slice> for SliceKnobs
sourceimpl IntoEnumIterator for Slice
impl IntoEnumIterator for Slice
type Iterator = SliceEnumIterator
type Iterator = SliceEnumIterator
Type of the iterator over the variants.
sourceconst VARIANT_COUNT: usize = 6usize
const VARIANT_COUNT: usize = 6usize
Number of variants.
sourcefn into_enum_iter() -> Self::Iterator
fn into_enum_iter() -> Self::Iterator
Returns an iterator over the variants. Read more
impl Copy for Slice
impl Eq for Slice
impl StructuralEq for Slice
impl StructuralPartialEq for Slice
Auto Trait Implementations
impl RefUnwindSafe for Slice
impl Send for Slice
impl Sync for Slice
impl Unpin for Slice
impl UnwindSafe for Slice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more