Struct evil_janet::JanetBuffer
source · #[repr(C)]pub struct JanetBuffer {
pub gc: JanetGCObject,
pub count: i32,
pub capacity: i32,
pub data: *mut u8,
}
Fields§
§gc: JanetGCObject
§count: i32
§capacity: i32
§data: *mut u8
Trait Implementations§
source§impl Clone for JanetBuffer
impl Clone for JanetBuffer
source§fn clone(&self) -> JanetBuffer
fn clone(&self) -> JanetBuffer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for JanetBuffer
Auto Trait Implementations§
impl Freeze for JanetBuffer
impl RefUnwindSafe for JanetBuffer
impl !Send for JanetBuffer
impl !Sync for JanetBuffer
impl Unpin for JanetBuffer
impl UnwindSafe for JanetBuffer
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