pub struct ScriptUsage {
pub file: PathBuf,
pub line_number: usize,
pub script_type: ScriptType,
pub command: String,
pub context: String,
}Fields§
§file: PathBuf§line_number: usize§script_type: ScriptType§command: String§context: StringImplementations§
Source§impl ScriptUsage
impl ScriptUsage
pub const fn script_type_label(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ScriptUsage
impl Clone for ScriptUsage
Source§fn clone(&self) -> ScriptUsage
fn clone(&self) -> ScriptUsage
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 moreSource§impl Debug for ScriptUsage
impl Debug for ScriptUsage
impl Eq for ScriptUsage
Source§impl PartialEq for ScriptUsage
impl PartialEq for ScriptUsage
impl StructuralPartialEq for ScriptUsage
Auto Trait Implementations§
impl Freeze for ScriptUsage
impl RefUnwindSafe for ScriptUsage
impl Send for ScriptUsage
impl Sync for ScriptUsage
impl Unpin for ScriptUsage
impl UnsafeUnpin for ScriptUsage
impl UnwindSafe for ScriptUsage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.