Function lrs::intrinsics::size_of

Calculates the size of a type.

Syntax

unsafe extern "rust-intrinsic" fn size_of<T>() -> usize

Return value

Returns the size of T objects.

Remarks

You should never use this function directly. Use size_of instead.

See also