Enum dtrace_parser::DataType
source · pub enum DataType {
Integer(Integer),
Pointer(Integer),
String,
}
Expand description
Represents the data type of a single probe argument.
Variants§
Implementations§
source§impl DataType
impl DataType
sourcepub fn to_rust_ffi_type(&self) -> String
pub fn to_rust_ffi_type(&self) -> String
Return the Rust FFI type representation of this data type
sourcepub fn to_rust_type(&self) -> String
pub fn to_rust_type(&self) -> String
Return the native Rust type representation of this data type
Trait Implementations§
source§impl PartialEq for DataType
impl PartialEq for DataType
impl Copy for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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