Enum rd_agent_intf::slices::MemoryKnob
source · [−]pub enum MemoryKnob {
None,
Bytes(u64),
}
Variants
None
Bytes(u64)
Implementations
Trait Implementations
sourceimpl Clone for MemoryKnob
impl Clone for MemoryKnob
sourcefn clone(&self) -> MemoryKnob
fn clone(&self) -> MemoryKnob
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MemoryKnob
impl Debug for MemoryKnob
sourceimpl Default for MemoryKnob
impl Default for MemoryKnob
sourceimpl<'de> Deserialize<'de> for MemoryKnob
impl<'de> Deserialize<'de> for MemoryKnob
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<MemoryKnob> for MemoryKnob
impl PartialEq<MemoryKnob> for MemoryKnob
sourcefn eq(&self, other: &MemoryKnob) -> bool
fn eq(&self, other: &MemoryKnob) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MemoryKnob) -> bool
fn ne(&self, other: &MemoryKnob) -> bool
This method tests for !=
.
sourceimpl Serialize for MemoryKnob
impl Serialize for MemoryKnob
impl Copy for MemoryKnob
impl StructuralPartialEq for MemoryKnob
Auto Trait Implementations
impl RefUnwindSafe for MemoryKnob
impl Send for MemoryKnob
impl Sync for MemoryKnob
impl Unpin for MemoryKnob
impl UnwindSafe for MemoryKnob
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