pub struct Bounds { /* private fields */ }
Implementations§
source§impl Bounds
impl Bounds
pub fn add_for_parameter( &mut self, env: &Env, func: &Function, par: &CParameter, async: bool, concurrency: Concurrency, configured_functions: &[&Function], ) -> (Option<String>, Option<CallbackInfo>)
pub fn type_for(env: &Env, type_id: TypeId) -> Option<BoundType>
pub fn get_to_glib_extra( bound_type: &BoundType, nullable: bool, instance_parameter: bool, move_: bool, ) -> String
pub fn add_parameter( &mut self, name: &str, type_str: &str, bound_type: BoundType, async: bool, )
pub fn get_parameter_bound(&self, name: &str) -> Option<&Bound>
pub fn update_imports(&self, imports: &mut Imports)
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> Iter<'_, Bound>
pub fn iter_lifetimes(&self) -> Iter<'_, char>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bounds
impl RefUnwindSafe for Bounds
impl Send for Bounds
impl Sync for Bounds
impl Unpin for Bounds
impl UnwindSafe for Bounds
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
)