pub struct InlineLineVec { /* private fields */ }Implementations§
Source§impl InlineLineVec
impl InlineLineVec
pub fn new() -> InlineLineVec
pub fn with_capacity(cap: usize) -> Self
pub const fn from_const_slice(input: &'static [InlineLine]) -> Self
pub fn from_vec(input: Vec<InlineLine>) -> Self
pub fn iter(&self) -> Iter<'_, InlineLine>
pub fn ptr_as_usize(&self) -> usize
pub const fn len(&self) -> usize
pub const fn capacity(&self) -> usize
pub const fn is_empty(&self) -> bool
pub fn get(&self, index: usize) -> Option<&InlineLine>
pub fn as_slice(&self) -> &[InlineLine]
Source§impl InlineLineVec
impl InlineLineVec
pub fn from_copy_on_write(input: Cow<'static, [InlineLine]>) -> InlineLineVec
Sourcepub fn clone_self(&self) -> Self
pub fn clone_self(&self) -> Self
NOTE: CLONES the memory if the memory is external or &’static Moves the memory out if the memory is library-allocated
Sourcepub fn into_library_owned_vec(self) -> Vec<InlineLine>
pub fn into_library_owned_vec(self) -> Vec<InlineLine>
NOTE: CLONES the memory if the memory is external or &’static Moves the memory out if the memory is library-allocated
Trait Implementations§
Source§impl AsRef<[InlineLine]> for InlineLineVec
impl AsRef<[InlineLine]> for InlineLineVec
Source§fn as_ref(&self) -> &[InlineLine]
fn as_ref(&self) -> &[InlineLine]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InlineLineVec
impl Clone for InlineLineVec
Source§impl Debug for InlineLineVec
impl Debug for InlineLineVec
Source§impl Default for InlineLineVec
impl Default for InlineLineVec
Source§impl Drop for InlineLineVec
impl Drop for InlineLineVec
Source§impl From<&'static [InlineLine]> for InlineLineVec
impl From<&'static [InlineLine]> for InlineLineVec
Source§fn from(input: &'static [InlineLine]) -> InlineLineVec
fn from(input: &'static [InlineLine]) -> InlineLineVec
Converts to this type from the input type.
Source§impl From<Vec<InlineLine>> for InlineLineVec
impl From<Vec<InlineLine>> for InlineLineVec
Source§fn from(input: Vec<InlineLine>) -> InlineLineVec
fn from(input: Vec<InlineLine>) -> InlineLineVec
Converts to this type from the input type.
Source§impl FromIterator<InlineLine> for InlineLineVec
impl FromIterator<InlineLine> for InlineLineVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = InlineLine>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = InlineLine>,
Creates a value from an iterator. Read more
Source§impl PartialEq for InlineLineVec
impl PartialEq for InlineLineVec
Source§impl PartialOrd for InlineLineVec
impl PartialOrd for InlineLineVec
impl Send for InlineLineVec
impl Sync for InlineLineVec
Auto Trait Implementations§
impl Freeze for InlineLineVec
impl RefUnwindSafe for InlineLineVec
impl Unpin for InlineLineVec
impl UnwindSafe for InlineLineVec
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more