pub struct OpenDirective {
pub module: String,
pub scoped: bool,
}Expand description
Open directive with optional scope.
Fields§
§module: StringModule to open
scoped: boolOptional scope: Some(expr) means open ... in expr
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 PartialEq for OpenDirective
impl PartialEq 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