Struct libyml::yaml::YamlBufferT
source · #[repr(C)]pub struct YamlBufferT<T> {
pub start: *mut T,
pub end: *mut T,
pub pointer: *mut T,
pub last: *mut T,
}
Expand description
Represents the data associated with a YAML token.
Fields§
§start: *mut T
The beginning of the buffer.
end: *mut T
The end of the buffer.
pointer: *mut T
The current position of the buffer.
last: *mut T
The last filled position of the buffer.
Trait Implementations§
source§impl<T: Clone> Clone for YamlBufferT<T>
impl<T: Clone> Clone for YamlBufferT<T>
source§fn clone(&self) -> YamlBufferT<T>
fn clone(&self) -> YamlBufferT<T>
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 moresource§impl<T: Debug> Debug for YamlBufferT<T>
impl<T: Debug> Debug for YamlBufferT<T>
source§impl<T> Default for YamlBufferT<T>
impl<T> Default for YamlBufferT<T>
impl<T: Copy> Copy for YamlBufferT<T>
Auto Trait Implementations§
impl<T> Freeze for YamlBufferT<T>
impl<T> RefUnwindSafe for YamlBufferT<T>where
T: RefUnwindSafe,
impl<T> !Send for YamlBufferT<T>
impl<T> !Sync for YamlBufferT<T>
impl<T> Unpin for YamlBufferT<T>
impl<T> UnwindSafe for YamlBufferT<T>where
T: RefUnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)