Trait ToASlice

Source
pub trait ToASlice<T> {
    // Required method
    fn to_aslice(self, allocator: &HtmlAllocator) -> Result<ASlice<T>>;
}

Required Methods§

Source

fn to_aslice(self, allocator: &HtmlAllocator) -> Result<ASlice<T>>

Implementations on Foreign Types§

Source§

impl ToASlice<Node> for &[AId<Node>]

Source§

fn to_aslice(self, allocator: &HtmlAllocator) -> Result<ASlice<Node>>

Source§

impl ToASlice<Node> for Vec<AId<Node>>

Source§

fn to_aslice(self, allocator: &HtmlAllocator) -> Result<ASlice<Node>>

Source§

impl<'a, const N: usize> ToASlice<(KString, KString)> for [Option<(KString, KString)>; N]

Source§

fn to_aslice( self, allocator: &HtmlAllocator, ) -> Result<ASlice<(KString, KString)>>

Source§

impl<const N: usize> ToASlice<Node> for [AId<Node>; N]

Source§

fn to_aslice(self, allocator: &HtmlAllocator) -> Result<ASlice<Node>>

Implementors§

Source§

impl ToASlice<Node> for AId<Node>

Source§

impl<'a, T: AllocatorType> ToASlice<T> for AVec<'a, T>

Source§

impl<T> ToASlice<T> for &ASlice<T>

Source§

impl<T> ToASlice<T> for ASlice<T>

Source§

impl<T: AllocatorType> ToASlice<T> for Flat<T>