pub enum IncludeDirective {
Include {
path: String,
},
IncludeLib {
path: String,
},
}Expand description
-include and -include_lib are syntactically distinct: the
former takes a relative-to-source path, the latter an
application/include/file.hrl shape resolved through OTP’s lib
path. The variant preserves which form the source used so the
remediation text can match.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IncludeDirective
impl Clone for IncludeDirective
Source§impl Debug for IncludeDirective
impl Debug for IncludeDirective
Source§impl<'de> Deserialize<'de> for IncludeDirective
impl<'de> Deserialize<'de> for IncludeDirective
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IncludeDirective
Source§impl PartialEq for IncludeDirective
impl PartialEq for IncludeDirective
Source§impl Serialize for IncludeDirective
impl Serialize for IncludeDirective
impl StructuralPartialEq for IncludeDirective
Auto Trait Implementations§
impl Freeze for IncludeDirective
impl RefUnwindSafe for IncludeDirective
impl Send for IncludeDirective
impl Sync for IncludeDirective
impl Unpin for IncludeDirective
impl UnsafeUnpin for IncludeDirective
impl UnwindSafe for IncludeDirective
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more