Struct llvm_kaleidoscope_rs::SmallCStr
source · pub struct SmallCStr(/* private fields */);
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§
source§impl PartialEq for SmallCStr
impl PartialEq for SmallCStr
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§
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