pub struct AttValue { /* private fields */ }
Implementations§
Source§impl AttValue
impl AttValue
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub fn as_ref<T: Sized>(&self) -> Option<&T>
👎Deprecated: Please use
as_slice
+ zerocopy::FromBytespub fn as_mut<T: Sized>(&mut self) -> Option<&mut T>
👎Deprecated: Please use
as_mut_slice
+ zerocopy::FromBytespub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn clear(&mut self)
pub fn set_value(&mut self, value: &[u8])
pub fn set_from<T: Sized>(&mut self, p: &T)
👎Deprecated: Please use
set_value
+ zerocopy::IntoBytes