Struct llvm_kaleidoscope_rs::SmallCStr
source · [−]pub struct SmallCStr(_);
Expand description
Small C string on the stack with fixed size SMALL_STR_SIZE
.
This is specially crafted to interact with the LLVM C API and get rid of some heap allocations.
Implementations
Trait Implementations
impl StructuralPartialEq for SmallCStr
Auto Trait Implementations
impl RefUnwindSafe for SmallCStr
impl Send for SmallCStr
impl Sync for SmallCStr
impl Unpin for SmallCStr
impl UnwindSafe for SmallCStr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more