pub enum TransformationType {
ToGlibDirect {
name: String,
},
ToGlibScalar {
name: String,
nullable: Nullable,
needs_into: bool,
},
ToGlibPointer {
name: String,
instance_parameter: bool,
transfer: Transfer,
ref_mode: RefMode,
to_glib_extra: String,
explicit_target_type: String,
pointer_cast: String,
in_trait: bool,
nullable: bool,
move_: bool,
},
ToGlibBorrow,
ToGlibUnknown {
name: String,
},
Length {
array_name: String,
array_length_name: String,
array_length_type: String,
},
IntoRaw(String),
ToSome(String),
}
Variants§
ToGlibDirect
ToGlibScalar
ToGlibPointer
Fields
ToGlibBorrow
ToGlibUnknown
Length
IntoRaw(String)
ToSome(String)
Implementations§
source§impl TransformationType
impl TransformationType
pub fn is_to_glib(&self) -> bool
pub fn set_to_glib_extra(&mut self, to_glib_extra_: &str)
Trait Implementations§
source§impl Clone for TransformationType
impl Clone for TransformationType
source§fn clone(&self) -> TransformationType
fn clone(&self) -> TransformationType
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for TransformationType
impl RefUnwindSafe for TransformationType
impl Send for TransformationType
impl Sync for TransformationType
impl Unpin for TransformationType
impl UnwindSafe for TransformationType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)