Struct ink_analyzer::ProjectFile
source · pub struct ProjectFile {
pub plain: String,
pub snippet: Option<String>,
}Expand description
Code stubs/snippets for creating a file in an ink! project
(e.g. lib.rs or Cargo.toml for an ink! contract).
Fields§
§plain: StringA plain text code stub.
snippet: Option<String>A snippet (i.e. with tab stops and/or placeholders).
Trait Implementations§
source§impl Debug for ProjectFile
impl Debug for ProjectFile
source§impl PartialEq for ProjectFile
impl PartialEq for ProjectFile
source§fn eq(&self, other: &ProjectFile) -> bool
fn eq(&self, other: &ProjectFile) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ProjectFile
impl StructuralEq for ProjectFile
impl StructuralPartialEq for ProjectFile
Auto Trait Implementations§
impl RefUnwindSafe for ProjectFile
impl Send for ProjectFile
impl Sync for ProjectFile
impl Unpin for ProjectFile
impl UnwindSafe for ProjectFile
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.