Enum syntax::ast::UnsafeSourceUnstable
[-] [+]
[src]
pub enum UnsafeSource {
CompilerGenerated,
UserProvided,
}Variants
CompilerGenerated | |
UserProvided |
pub enum UnsafeSource {
CompilerGenerated,
UserProvided,
}CompilerGenerated | |
UserProvided |
impl Copy for UnsafeSourceimpl Debug for UnsafeSourceimpl Hash for UnsafeSourcefn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl Decodable for UnsafeSourcefn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<UnsafeSource, Error>impl Encodable for UnsafeSourceimpl Eq for UnsafeSourcefn assert_receiver_is_total_eq(&self)impl PartialEq for UnsafeSourcefn eq(&self, __arg_0: &UnsafeSource) -> boolfn ne(&self, __arg_0: &UnsafeSource) -> boolimpl Clone for UnsafeSourcefn clone(&self) -> UnsafeSourcefn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).