Trait base::descriptor::FromRawDescriptor
source · pub trait FromRawDescriptor {
// Required method
unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self;
}
Required Methods§
sourceunsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self
unsafe fn from_raw_descriptor(descriptor: RawDescriptor) -> Self
§Safety
Safe only if the caller ensures nothing has access to the descriptor after passing it to
from_raw_descriptor
Object Safety§
This trait is not object safe.