Skip to main content

assert_dst

Function assert_dst 

Source
pub const fn assert_dst<T: ?Sized>()
Expand description

Accepts any type, including an unsized type, without performing work.

The ?Sized bound removes the implicit Sized requirement. The const signature permits use from const contexts.