Struct glib::Binding [−][src]
Implementations
impl Binding
[src]
pub fn get_flags(&self) -> BindingFlags
[src]
pub fn get_source(&self) -> Option<Object>
[src]
pub fn get_source_property(&self) -> Option<GString>
[src]
pub fn get_target(&self) -> Option<Object>
[src]
pub fn get_target_property(&self) -> Option<GString>
[src]
pub fn unbind(&self)
[src]
Trait Implementations
impl Clone for Binding
[src]
impl Debug for Binding
[src]
impl Display for Binding
[src]
impl Eq for Binding
[src]
impl Hash for Binding
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Binding
[src]
fn cmp(&self, other: &Binding) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T: ObjectType> PartialEq<T> for Binding
[src]
impl<T: ObjectType> PartialOrd<T> for Binding
[src]
fn partial_cmp(&self, other: &T) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Send for Binding
[src]
impl StaticType for Binding
[src]
fn static_type() -> Type
[src]
impl Sync for Binding
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Super, Sub> CanDowncast<Sub> for Super where
Super: IsA<Super>,
Sub: IsA<Super>,
[src]
Super: IsA<Super>,
Sub: IsA<Super>,
impl<T> Cast for T where
T: ObjectType,
[src]
T: ObjectType,
fn upcast<T: ObjectType>(self) -> T where
Self: IsA<T>,
[src]
Self: IsA<T>,
fn upcast_ref<T: ObjectType>(&self) -> &T where
Self: IsA<T>,
[src]
Self: IsA<T>,
fn downcast<T: ObjectType>(self) -> Result<T, Self> where
Self: CanDowncast<T>,
[src]
Self: CanDowncast<T>,
fn downcast_ref<T: ObjectType>(&self) -> Option<&T> where
Self: CanDowncast<T>,
[src]
Self: CanDowncast<T>,
fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>
[src]
fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>
[src]
unsafe fn unsafe_cast<T: ObjectType>(self) -> T
[src]
unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ObjectExt for T where
T: ObjectType,
[src]
T: ObjectType,
pub fn is<U>(&Self) -> bool where
U: StaticType,
[src]
U: StaticType,
pub fn get_type(&Self) -> Type
[src]
pub fn get_object_class(&Self) -> &ObjectClass
[src]
pub fn set_property<'a, N>(&Self, N, &dyn ToValue) -> Result<(), BoolError> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn get_property<'a, N>(&Self, N) -> Result<Value, BoolError> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn block_signal(&Self, &SignalHandlerId)
[src]
pub fn unblock_signal(&Self, &SignalHandlerId)
[src]
pub fn stop_signal_emission(&Self, &str)
[src]
pub fn disconnect(&Self, SignalHandlerId)
[src]
pub fn connect_notify<'a, P, F>(&Self, P, F) -> SignalHandlerId where
F: 'static + Fn(&T, &ParamSpec) + Send + Sync,
P: Into<Option<&'a str>>,
[src]
F: 'static + Fn(&T, &ParamSpec) + Send + Sync,
P: Into<Option<&'a str>>,
pub unsafe fn connect_notify_unsafe<'a, P, F>(&Self, P, F) -> SignalHandlerId where
F: Fn(&T, &ParamSpec),
P: Into<Option<&'a str>>,
[src]
F: Fn(&T, &ParamSpec),
P: Into<Option<&'a str>>,
pub fn notify<'a, N>(&Self, N) where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn notify_by_pspec(&Self, &ParamSpec)
[src]
pub fn has_property<'a, N>(&Self, N, Option<Type>) -> Result<(), BoolError> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn get_property_type<'a, N>(&Self, N) -> Option<Type> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn find_property<'a, N>(&Self, N) -> Option<ParamSpec> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn list_properties(&Self) -> Vec<ParamSpec, Global>
[src]
pub fn connect<'a, N, F>(
&Self,
N,
bool,
F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
[src]
&Self,
N,
bool,
F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
pub unsafe fn connect_unsafe<'a, N, F>(
&Self,
N,
bool,
F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value>,
[src]
&Self,
N,
bool,
F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value>,
pub fn emit<'a, N>(
&Self,
N,
&[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
[src]
&Self,
N,
&[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
pub fn downgrade(&Self) -> WeakRef<T>
[src]
pub fn bind_property<'a, O, N, M>(&'a Self, N, &'a O, M) -> BindingBuilder<'a> where
N: Into<&'a str>,
O: ObjectType,
M: Into<&'a str>,
[src]
N: Into<&'a str>,
O: ObjectType,
M: Into<&'a str>,
pub fn ref_count(&Self) -> u32
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
T: SetValue + Send + ToValue + ?Sized,
pub fn to_send_value(&Self) -> SendValue
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,