pub enum BindSource {
File {
file: String,
text: String,
},
Inline {
text: String,
},
Expr {
text: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for BindSource
impl Clone for BindSource
Source§fn clone(&self) -> BindSource
fn clone(&self) -> BindSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BindSource
impl RefUnwindSafe for BindSource
impl Send for BindSource
impl Sync for BindSource
impl Unpin for BindSource
impl UnsafeUnpin for BindSource
impl UnwindSafe for BindSource
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