pub struct WrapperType {
pub original_type_name: Type,
pub wrapper_name: String,
pub rust_type: RustWrapperType,
pub impl_traits: Vec<RustTrait>,
pub reference_parameters: Option<ReferenceParameters>,
}
Fields§
§original_type_name: Type
§wrapper_name: String
§rust_type: RustWrapperType
§impl_traits: Vec<RustTrait>
§reference_parameters: Option<ReferenceParameters>
Implementations§
Source§impl WrapperType
impl WrapperType
pub fn boxed(self) -> Box<WrapperType>
Trait Implementations§
Source§impl Clone for WrapperType
impl Clone for WrapperType
Source§fn clone(&self) -> WrapperType
fn clone(&self) -> WrapperType
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 WrapperType
impl Debug for WrapperType
Source§impl Hash for WrapperType
impl Hash for WrapperType
Source§impl PartialEq for WrapperType
impl PartialEq for WrapperType
Source§impl TargetLanguageTypeName for WrapperType
impl TargetLanguageTypeName for WrapperType
impl Eq for WrapperType
Auto Trait Implementations§
impl Freeze for WrapperType
impl RefUnwindSafe for WrapperType
impl !Send for WrapperType
impl !Sync for WrapperType
impl Unpin for WrapperType
impl UnwindSafe for WrapperType
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