Struct il2_iltags::tags::ILRawTag [−][src]
pub struct ILRawTag { /* fields omitted */ }
Expand description
This struct implements a raw tag. It can be used to store any non explicit tag.
Implementations
Creates a new instance of this struct.
Arguments:
id
: The tag id;
Returns:
- The new instance of RawTag.
Initializes a new RawTag with a given capacity.
Arguments:
id
: The tag id;capacity
: The expected initial capacity;
Returns:
- The new instance of RawTag.
Initializes a new RawTag with an initial value.
Arguments:
id
: The tag id;value
: A byte slice with the initial value;
Returns:
- The new instance of RawTag.
Trait Implementations
Creates a default tag with. Read more
Returns a mutable reference as Any.
Retuns the size of the serialized value in bytes.
Serializes the payload of this tag. Read more
fn deserialize_value(
&mut self,
_factory: &dyn ILTagFactory,
value_size: usize,
reader: &mut dyn Reader
) -> Result<()>
fn deserialize_value(
&mut self,
_factory: &dyn ILTagFactory,
value_size: usize,
reader: &mut dyn Reader
) -> Result<()>
Deserializes the value. Read more
Verifies if this tag is implicity.
Verifies if this tag is reserved.