Struct ckb_debugger_api::embed::Embed
source · pub struct Embed {
pub data: String,
pub path: PathBuf,
pub type_id_dict: HashMap<String, String>,
}Fields§
§data: String§path: PathBuf§type_id_dict: HashMap<String, String>Implementations§
source§impl Embed
impl Embed
pub fn new(path: PathBuf, data: String) -> Self
pub fn replace_data(&mut self) -> &mut Self
pub fn replace_hash(&mut self) -> &mut Self
pub fn prelude_type_id(&mut self) -> &mut Self
pub fn replace_def_type(&mut self) -> &mut Self
pub fn replace_ref_type(&mut self) -> &mut Self
pub fn replace_all(&mut self) -> String
Auto Trait Implementations§
impl RefUnwindSafe for Embed
impl Send for Embed
impl Sync for Embed
impl Unpin for Embed
impl UnwindSafe for Embed
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