Skip to main content

NameChangeset

Trait NameChangeset 

Source
pub trait NameChangeset: Sized {
    // Required method
    fn name_changeset(&mut self, changeset: &Changeset) -> bool;

    // Provided method
    unsafe extern "C" fn cb_name_changeset(
        ctxt: *mut c_void,
        changeset: *mut BNCollaborationChangeset,
    ) -> bool { ... }
}

Required Methods§

Source

fn name_changeset(&mut self, changeset: &Changeset) -> bool

Provided Methods§

Source

unsafe extern "C" fn cb_name_changeset( ctxt: *mut c_void, changeset: *mut BNCollaborationChangeset, ) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl NameChangeset for NoNameChangeset

Source§

impl<F> NameChangeset for F
where F: for<'a> FnMut(&'a Changeset) -> bool,