Enum rustc::middle::traits::MethodViolationCodeUnstable
[-] [+]
[src]
pub enum MethodViolationCode { StaticMethod, ReferencesSelf, Generic, }
Reasons a method might not be object-safe.
Variants
StaticMethod | e.g., |
ReferencesSelf | e.g., |
Generic | e.g., |