Skip to main content

SidebarEntries

Trait SidebarEntries 

Source
pub trait SidebarEntries<T: 'static> {
    // Required method
    fn add_to(self, sections: &mut Vec<SidebarSection<T>>);
}
Expand description

What a Sidebar takes as children: SidebarItems, SidebarSections, and tuples, Vecs and Options of them.

Required Methods§

Source

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>, D: SidebarEntries<T>, E: SidebarEntries<T>, F: SidebarEntries<T>, G: SidebarEntries<T>, H: SidebarEntries<T>, I: SidebarEntries<T>, J: SidebarEntries<T>, K: SidebarEntries<T>, L: SidebarEntries<T>> SidebarEntries<T> for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>, D: SidebarEntries<T>, E: SidebarEntries<T>, F: SidebarEntries<T>, G: SidebarEntries<T>, H: SidebarEntries<T>, I: SidebarEntries<T>, J: SidebarEntries<T>, K: SidebarEntries<T>> SidebarEntries<T> for (A, B, C, D, E, F, G, H, I, J, K)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>, D: SidebarEntries<T>, E: SidebarEntries<T>, F: SidebarEntries<T>, G: SidebarEntries<T>, H: SidebarEntries<T>, I: SidebarEntries<T>, J: SidebarEntries<T>> SidebarEntries<T> for (A, B, C, D, E, F, G, H, I, J)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>, D: SidebarEntries<T>, E: SidebarEntries<T>, F: SidebarEntries<T>, G: SidebarEntries<T>, H: SidebarEntries<T>, I: SidebarEntries<T>> SidebarEntries<T> for (A, B, C, D, E, F, G, H, I)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>, D: SidebarEntries<T>, E: SidebarEntries<T>, F: SidebarEntries<T>, G: SidebarEntries<T>, H: SidebarEntries<T>> SidebarEntries<T> for (A, B, C, D, E, F, G, H)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>, D: SidebarEntries<T>, E: SidebarEntries<T>, F: SidebarEntries<T>, G: SidebarEntries<T>> SidebarEntries<T> for (A, B, C, D, E, F, G)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>, D: SidebarEntries<T>, E: SidebarEntries<T>, F: SidebarEntries<T>> SidebarEntries<T> for (A, B, C, D, E, F)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>, D: SidebarEntries<T>, E: SidebarEntries<T>> SidebarEntries<T> for (A, B, C, D, E)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>, D: SidebarEntries<T>> SidebarEntries<T> for (A, B, C, D)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>, C: SidebarEntries<T>> SidebarEntries<T> for (A, B, C)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>, B: SidebarEntries<T>> SidebarEntries<T> for (A, B)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, A: SidebarEntries<T>> SidebarEntries<T> for (A,)

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, E: SidebarEntries<T>> SidebarEntries<T> for Option<E>

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static, E: SidebarEntries<T>> SidebarEntries<T> for Vec<E>

Source§

fn add_to(self, sections: &mut Vec<SidebarSection<T>>)

Source§

impl<T: 'static> SidebarEntries<T> for ()

Source§

fn add_to(self, _: &mut Vec<SidebarSection<T>>)

Implementors§

Source§

impl<T: 'static> SidebarEntries<T> for SidebarItem<T>

Source§

impl<T: 'static> SidebarEntries<T> for SidebarSection<T>