pub struct CustomRegistration {
pub classes: Vec<String>,
pub functions: Vec<String>,
pub init_calls: Vec<String>,
}Expand description
Custom classes/functions from hand-written modules to register in module init.
Fields§
§classes: Vec<String>§functions: Vec<String>§init_calls: Vec<String>Trait Implementations§
Source§impl Clone for CustomRegistration
impl Clone for CustomRegistration
Source§fn clone(&self) -> CustomRegistration
fn clone(&self) -> CustomRegistration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustomRegistration
impl Debug for CustomRegistration
Source§impl Default for CustomRegistration
impl Default for CustomRegistration
Source§fn default() -> CustomRegistration
fn default() -> CustomRegistration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomRegistration
impl<'de> Deserialize<'de> for CustomRegistration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomRegistration
impl RefUnwindSafe for CustomRegistration
impl Send for CustomRegistration
impl Sync for CustomRegistration
impl Unpin for CustomRegistration
impl UnsafeUnpin for CustomRegistration
impl UnwindSafe for CustomRegistration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more