Struct lean_sys::lean_string_object
source · [−]#[repr(C)]pub struct lean_string_object {
pub m_header: lean_object,
pub m_size: usize,
pub m_capacity: usize,
pub m_length: usize,
pub m_data: IncompleteArrayField<c_char>,
}Fields
m_header: lean_objectm_size: usizeByte length including \0 terminator
m_capacity: usizem_length: usizeUTF-8 length
m_data: IncompleteArrayField<c_char>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for lean_string_object
impl Send for lean_string_object
impl Sync for lean_string_object
impl Unpin for lean_string_object
impl UnwindSafe for lean_string_object
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