#[repr(C)]pub struct FigStr {
pub ptr: *const u8,
pub len: usize,
}Expand description
A borrowed UTF-8 string slice (ptr[0..len]) passed across the C ABI.
Mirrors FigStr in fig.h; used for the key list of *_reorder_keys.
Fields§
§ptr: *const u8§len: usizeTrait Implementations§
Auto Trait Implementations§
impl !Send for FigStr
impl !Sync for FigStr
impl Freeze for FigStr
impl RefUnwindSafe for FigStr
impl Unpin for FigStr
impl UnsafeUnpin for FigStr
impl UnwindSafe for FigStr
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