pub struct TagDesc {
pub name: String,
pub typeid: RadType,
}
Fields§
§name: String
§typeid: RadType
Implementations§
source§impl TagDesc
impl TagDesc
sourcepub fn from_bytes<T: Read>(reader: &mut T) -> Result<TagDesc>
pub fn from_bytes<T: Read>(reader: &mut T) -> Result<TagDesc>
Attempts to read a TagDesc from the provided reader
. If the
reader
is positioned at the start of a valid TagDesc, then this
TagDesc is returned. Otherwise, a description of the error is returned
via an anyhow::Error.
sourcepub fn value_from_bytes<T: Read>(&self, reader: &mut T) -> TagValue
pub fn value_from_bytes<T: Read>(&self, reader: &mut T) -> TagValue
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TagDesc
impl Send for TagDesc
impl Sync for TagDesc
impl Unpin for TagDesc
impl UnwindSafe for TagDesc
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