Struct libgir::analysis::rust_type::RustTypeBuilder
source · pub struct RustTypeBuilder<'env> { /* private fields */ }
Implementations§
source§impl<'env> RustTypeBuilder<'env>
impl<'env> RustTypeBuilder<'env>
pub fn direction(self, direction: ParameterDirection) -> Self
pub fn nullable(self, nullable: Nullable) -> Self
pub fn ref_mode(self, ref_mode: RefMode) -> Self
pub fn scope(self, scope: ParameterScope) -> Self
pub fn concurrency(self, concurrency: Concurrency) -> Self
pub fn try_from_glib(self, try_from_glib: &TryFromGlib) -> Self
pub fn callback_parameters_config( self, callback_parameters_config: &[CallbackParameter], ) -> Self
pub fn try_build(self) -> Result
pub fn try_build_param(self) -> Result
Auto Trait Implementations§
impl<'env> Freeze for RustTypeBuilder<'env>
impl<'env> !RefUnwindSafe for RustTypeBuilder<'env>
impl<'env> !Send for RustTypeBuilder<'env>
impl<'env> !Sync for RustTypeBuilder<'env>
impl<'env> Unpin for RustTypeBuilder<'env>
impl<'env> !UnwindSafe for RustTypeBuilder<'env>
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