Trait janetrs::JanetExtend[][src]

pub trait JanetExtend<T> {
    fn extend(&mut self, collection: T);
}
Expand description

Trait that express the ability of a Janet collection to extend it with another collection.

Required methods

fn extend(&mut self, collection: T)[src]

Implementors

impl JanetExtend<&'_ char> for JanetBuffer<'_>[src]

fn extend(&mut self, ch: &char)[src]

impl JanetExtend<&'_ str> for JanetBuffer<'_>[src]

fn extend(&mut self, string: &str)[src]

impl JanetExtend<&'_ CStr> for JanetBuffer<'_>[src]

fn extend(&mut self, cstr: &CStr)[src]

impl JanetExtend<char> for JanetBuffer<'_>[src]

fn extend(&mut self, ch: char)[src]

impl JanetExtend<&'_ [u8]> for JanetBuffer<'_>[src]

fn extend(&mut self, slice: &[u8])[src]

impl JanetExtend<JanetTable<'_>> for JanetTable<'_>[src]

fn extend(&mut self, other: JanetTable<'_>)[src]

Extend the table with all key-value pairs of the other table.

impl<T: AsRef<[Janet]>> JanetExtend<T> for JanetArray<'_>[src]

fn extend(&mut self, collection: T)[src]