pub struct OpenDirective {
pub path: String,
pub span: Range<usize>,
}Expand description
Open directive (open)
Fields§
§path: StringImport path
span: Range<usize>Source span
Trait Implementations§
Source§impl Clone for OpenDirective
impl Clone for OpenDirective
Source§fn clone(&self) -> OpenDirective
fn clone(&self) -> OpenDirective
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenDirective
impl Debug for OpenDirective
Source§impl<'de> Deserialize<'de> for OpenDirective
impl<'de> Deserialize<'de> for OpenDirective
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
Source§impl PartialEq for OpenDirective
impl PartialEq for OpenDirective
Source§impl Serialize for OpenDirective
impl Serialize for OpenDirective
impl StructuralPartialEq for OpenDirective
Auto Trait Implementations§
impl Freeze for OpenDirective
impl RefUnwindSafe for OpenDirective
impl Send for OpenDirective
impl Sync for OpenDirective
impl Unpin for OpenDirective
impl UnsafeUnpin for OpenDirective
impl UnwindSafe for OpenDirective
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