Register

Trait Register 

Source
pub trait Register {
    // Provided method
    fn register(registry: Registry) -> Registry { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Register for &str

Source§

impl Register for bool

Source§

impl Register for f32

Source§

impl Register for f64

Source§

impl Register for i8

Source§

impl Register for i16

Source§

impl Register for i32

Source§

impl Register for i64

Source§

impl Register for isize

Source§

impl Register for str

Source§

impl Register for u8

Source§

impl Register for u16

Source§

impl Register for u32

Source§

impl Register for u64

Source§

impl Register for usize

Source§

impl Register for String

Source§

impl Register for ID

Source§

impl Register for Upload

Source§

impl<T> Register for &[T]
where T: Register + 'static,

Source§

impl<T> Register for Option<T>
where T: Register + 'static,

Source§

impl<T> Register for MaybeUndefined<T>
where T: Register + 'static,

Source§

impl<T> Register for &T
where T: Register + 'static,

Source§

impl<T> Register for Vec<T>
where T: Register + 'static,

Source§

impl<T, E> Register for Result<T, E>
where T: Register + 'static,

Source§

impl<T: Register + Clone + 'static> Register for Cow<'_, T>

Implementors§

Source§

impl<I> Register for Instance<'_, I, ()>
where I: ?Sized + Interface + 'static,

Source§

impl<I, T> Register for Instance<'_, I, T>
where I: ?Sized + Interface + 'static + RegisterInstance<I, T>, T: Object + 'static + Send + Sync,