Struct il2_iltags::tags::standard::implicit::ILSignedILInt64Tag[][src]

pub struct ILSignedILInt64Tag { /* fields omitted */ }
Expand description

This struct implements the ILInt standard tag. This tag and ILILInt64Tag are the only implicit tags whose its value size can vary from 1 to 9 bytes.

By default it sets the tag id to IL_SIGNED_ILINT_TAG_ID.

New since 1.3.0.

Implementations

Constructs this struct using the default tag id and value.

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.

Sets the current value of this tag.

Arguments:

  • value: The initial value;

Trait Implementations

Returns the “default value” for a type. Read more

Creates a default tag with. Read more

This implementation follows the specification of ILTag::deserialize_value() except for the fact that it does not check the value_size as it may vary from 1 to 9 bytes depending on the actual value stored.

Returns the ID of the tag.

Returns a reference as Any.

Returns a mutable reference as Any.

Retuns the size of the serialized value in bytes.

Serializes the payload of this tag. Read more

Verifies if this tag is implicity.

Verifies if this tag is reserved.

Returns the total size of the tag in bytes.

Serializes this tag. Read more

Serializes the given tag into an array of bytes. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.