Struct il2_iltags::tags::util::UntouchbleTagFactory[][src]

pub struct UntouchbleTagFactory {}
Expand description

This struct implements a ILTagFactory that can be used to test tag serialization implementations that are supposed to use the an ILTagFactory instance.

All methods implemented by this ILTagFactory panics with the message “UntouchbleTagFactory touched.”. Because of that, is is strongly recommended to keep the use of this struct for testing only.

New since 1.3.0.

Implementations

Creates a new UntouchbleTagFactory.

Trait Implementations

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

Creates an empty tag for the given id. Read more

Deserializes a tag from a reader. Read more

Deserializes a tag from a reader and put the result into an existing tag instance if possible. Read more

Deserializes a tag from its serialized bytes. Internally it calls Self::deserialize() to perform this operation. 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.