Struct llvm_mlir_sys::MlirStringRef
source · Expand description
A pointer to a sized fragment of a string, not necessarily null-terminated. Does not own the underlying string. This is equivalent to llvm::StringRef.
Fields§
§data: *const c_char< Pointer to the first symbol.
length: usize< Length of the fragment.
Trait Implementations§
source§impl Clone for MlirStringRef
impl Clone for MlirStringRef
source§fn clone(&self) -> MlirStringRef
fn clone(&self) -> MlirStringRef
Returns a copy 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 more