pub enum BufferStorage {
Static,
Dynamic,
Stream,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for BufferStorage
impl Clone for BufferStorage
source§fn clone(&self) -> BufferStorage
fn clone(&self) -> BufferStorage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BufferStorage
impl Debug for BufferStorage
source§impl Default for BufferStorage
impl Default for BufferStorage
source§impl<'de> Deserialize<'de> for BufferStorage
impl<'de> Deserialize<'de> for BufferStorage
source§fn 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
source§impl From<HaChangeFrequency> for BufferStorage
impl From<HaChangeFrequency> for BufferStorage
source§fn from(frequency: HaChangeFrequency) -> Self
fn from(frequency: HaChangeFrequency) -> Self
Converts to this type from the input type.
source§impl Hash for BufferStorage
impl Hash for BufferStorage
source§impl PartialEq<BufferStorage> for BufferStorage
impl PartialEq<BufferStorage> for BufferStorage
source§fn eq(&self, other: &BufferStorage) -> bool
fn eq(&self, other: &BufferStorage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BufferStorage
impl Serialize for BufferStorage
impl Copy for BufferStorage
impl Eq for BufferStorage
impl StructuralEq for BufferStorage
impl StructuralPartialEq for BufferStorage
Auto Trait Implementations§
impl RefUnwindSafe for BufferStorage
impl Send for BufferStorage
impl Sync for BufferStorage
impl Unpin for BufferStorage
impl UnwindSafe for BufferStorage
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more