Struct il2_iltags::tags::standard::implicit::ILUInt8Tag [−][src]
pub struct ILUInt8Tag { /* fields omitted */ }
Expand description
This struct implements the u8 standard tag.
By default it sets the tag id to IL_UINT8_TAG_ID
.
Implementations
Constructs this struct using the default tag id.
Arguments:
value
: The initial value;
Constructs this struct using the given tag id and default value.
Arguments:
id
: The specified id;
Constructs this struct using the given tag id and default value.
Arguments:
id
: The specified id;value
: The initial value;
Returns the current value of this tag.
Returns:
- The current value of the tag.
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.
Auto Trait Implementations
impl RefUnwindSafe for ILUInt8Tag
impl Send for ILUInt8Tag
impl Sync for ILUInt8Tag
impl Unpin for ILUInt8Tag
impl UnwindSafe for ILUInt8Tag