pub struct CssPathSelectorVec { /* private fields */ }Implementations§
Source§impl CssPathSelectorVec
impl CssPathSelectorVec
pub fn new() -> CssPathSelectorVec
pub fn with_capacity(cap: usize) -> Self
pub const fn from_const_slice(input: &'static [CssPathSelector]) -> Self
pub fn from_vec(input: Vec<CssPathSelector>) -> Self
pub fn iter(&self) -> Iter<'_, CssPathSelector>
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<&CssPathSelector>
pub fn as_slice(&self) -> &[CssPathSelector]
Source§impl CssPathSelectorVec
impl CssPathSelectorVec
pub fn from_copy_on_write( input: Cow<'static, [CssPathSelector]>, ) -> CssPathSelectorVec
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<CssPathSelector>
pub fn into_library_owned_vec(self) -> Vec<CssPathSelector>
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<[CssPathSelector]> for CssPathSelectorVec
impl AsRef<[CssPathSelector]> for CssPathSelectorVec
Source§fn as_ref(&self) -> &[CssPathSelector]
fn as_ref(&self) -> &[CssPathSelector]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for CssPathSelectorVec
impl Clone for CssPathSelectorVec
Source§impl Debug for CssPathSelectorVec
impl Debug for CssPathSelectorVec
Source§impl Default for CssPathSelectorVec
impl Default for CssPathSelectorVec
Source§impl Drop for CssPathSelectorVec
impl Drop for CssPathSelectorVec
Source§impl From<&'static [CssPathSelector]> for CssPathSelectorVec
impl From<&'static [CssPathSelector]> for CssPathSelectorVec
Source§fn from(input: &'static [CssPathSelector]) -> CssPathSelectorVec
fn from(input: &'static [CssPathSelector]) -> CssPathSelectorVec
Converts to this type from the input type.
Source§impl From<Vec<CssPathSelector>> for CssPathSelectorVec
impl From<Vec<CssPathSelector>> for CssPathSelectorVec
Source§fn from(input: Vec<CssPathSelector>) -> CssPathSelectorVec
fn from(input: Vec<CssPathSelector>) -> CssPathSelectorVec
Converts to this type from the input type.
Source§impl FromIterator<CssPathSelector> for CssPathSelectorVec
impl FromIterator<CssPathSelector> for CssPathSelectorVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = CssPathSelector>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = CssPathSelector>,
Creates a value from an iterator. Read more
Source§impl Hash for CssPathSelectorVec
impl Hash for CssPathSelectorVec
Source§impl Ord for CssPathSelectorVec
impl Ord for CssPathSelectorVec
Source§impl PartialEq for CssPathSelectorVec
impl PartialEq for CssPathSelectorVec
Source§impl PartialOrd for CssPathSelectorVec
impl PartialOrd for CssPathSelectorVec
impl Eq for CssPathSelectorVec
impl Send for CssPathSelectorVec
impl Sync for CssPathSelectorVec
Auto Trait Implementations§
impl Freeze for CssPathSelectorVec
impl RefUnwindSafe for CssPathSelectorVec
impl Unpin for CssPathSelectorVec
impl UnwindSafe for CssPathSelectorVec
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