Skip to main content

Source

Trait Source 

Source
pub trait Source<Scope: Copy = ()> {
    // Required method
    fn emit<'field>(&'field self, sink: &mut impl Sink<'field, Scope>);
}
Expand description

Borrows and synchronously emits one semantic field plan.

Required Methods§

Source

fn emit<'field>(&'field self, sink: &mut impl Sink<'field, Scope>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Source<Application> for ()

Source§

fn emit<'field>(&'field self, _: &mut impl Sink<'field, Application>)

Source§

impl<'entry, 'value, Scope: Copy> Source<Scope> for Copied<Iter<'entry, Entry<'value, Scope>>>
where 'value: 'entry,

Source§

fn emit<'field>(&'field self, sink: &mut impl Sink<'field, Scope>)

Source§

impl<'entry, 'value, Scope: Copy> Source<Scope> for Iter<'entry, Entry<'value, Scope>>
where 'value: 'entry,

Source§

fn emit<'field>(&'field self, sink: &mut impl Sink<'field, Scope>)

Source§

impl<Scope: Copy, S: Source<Scope> + ?Sized> Source<Scope> for &S

Source§

fn emit<'field>(&'field self, sink: &mut impl Sink<'field, Scope>)

Source§

impl<Scope: Copy, const N: usize> Source<Scope> for [Entry<'_, Scope>; N]

Source§

fn emit<'field>(&'field self, sink: &mut impl Sink<'field, Scope>)

Source§

impl<Scope: Copy> Source<Scope> for Vec<Entry<'_, Scope>>

Source§

fn emit<'field>(&'field self, sink: &mut impl Sink<'field, Scope>)

Source§

impl<Scope: Copy> Source<Scope> for [Entry<'_, Scope>]

Source§

fn emit<'field>(&'field self, sink: &mut impl Sink<'field, Scope>)

Implementors§

Source§

impl<F: Source<Application>> Source for Response<F>

Source§

impl<Scope: Copy> Source<Scope> for Group<'_, Scope>

Source§

impl<Scope: Copy> Source<Scope> for List<'_, Lower<Cow<'_, str>, Scope>>

Source§

impl<const N: usize> Source<Application> for Head<'_, N>

Source§

impl<const N: usize> Source<Application> for Set<'_, N>