[−][src]Struct glib::ParamSpec
Methods
impl ParamSpec
[src]
pub fn get_value_type(&self) -> Type
[src]
pub fn get_owner_type(&self) -> Type
[src]
pub fn get_flags(&self) -> ParamFlags
[src]
pub fn get_blurb(&self) -> String
[src]
pub fn get_default_value(&self) -> Option<Value>
[src]
pub fn get_name(&self) -> String
[src]
pub fn get_name_quark(&self) -> Quark
[src]
pub fn get_nick(&self) -> String
[src]
pub fn get_redirect_target(&self) -> Option<ParamSpec>
[src]
pub fn boolean(
name: &str,
nick: &str,
blurb: &str,
default_value: bool,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
default_value: bool,
flags: ParamFlags
) -> ParamSpec
pub fn boxed(
name: &str,
nick: &str,
blurb: &str,
boxed_type: Type,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
boxed_type: Type,
flags: ParamFlags
) -> ParamSpec
pub fn char(
name: &str,
nick: &str,
blurb: &str,
minimum: i8,
maximum: i8,
default_value: i8,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: i8,
maximum: i8,
default_value: i8,
flags: ParamFlags
) -> ParamSpec
pub fn double(
name: &str,
nick: &str,
blurb: &str,
minimum: f64,
maximum: f64,
default_value: f64,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: f64,
maximum: f64,
default_value: f64,
flags: ParamFlags
) -> ParamSpec
pub fn enum_(
name: &str,
nick: &str,
blurb: &str,
enum_type: Type,
default_value: i32,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
enum_type: Type,
default_value: i32,
flags: ParamFlags
) -> ParamSpec
pub fn flags(
name: &str,
nick: &str,
blurb: &str,
flags_type: Type,
default_value: u32,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
flags_type: Type,
default_value: u32,
flags: ParamFlags
) -> ParamSpec
pub fn float(
name: &str,
nick: &str,
blurb: &str,
minimum: f32,
maximum: f32,
default_value: f32,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: f32,
maximum: f32,
default_value: f32,
flags: ParamFlags
) -> ParamSpec
pub fn gtype(
name: &str,
nick: &str,
blurb: &str,
is_a_type: Type,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
is_a_type: Type,
flags: ParamFlags
) -> ParamSpec
pub fn int(
name: &str,
nick: &str,
blurb: &str,
minimum: i32,
maximum: i32,
default_value: i32,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: i32,
maximum: i32,
default_value: i32,
flags: ParamFlags
) -> ParamSpec
pub fn int64(
name: &str,
nick: &str,
blurb: &str,
minimum: i64,
maximum: i64,
default_value: i64,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: i64,
maximum: i64,
default_value: i64,
flags: ParamFlags
) -> ParamSpec
pub fn long(
name: &str,
nick: &str,
blurb: &str,
minimum: c_long,
maximum: c_long,
default_value: c_long,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: c_long,
maximum: c_long,
default_value: c_long,
flags: ParamFlags
) -> ParamSpec
pub fn object(
name: &str,
nick: &str,
blurb: &str,
object_type: Type,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
object_type: Type,
flags: ParamFlags
) -> ParamSpec
pub fn override_(name: &str, overridden: &ParamSpec) -> ParamSpec
[src]
pub fn param(
name: &str,
nick: &str,
blurb: &str,
param_type: Type,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
param_type: Type,
flags: ParamFlags
) -> ParamSpec
pub fn pointer(
name: &str,
nick: &str,
blurb: &str,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
flags: ParamFlags
) -> ParamSpec
pub fn string(
name: &str,
nick: &str,
blurb: &str,
default_value: Option<&str>,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
default_value: Option<&str>,
flags: ParamFlags
) -> ParamSpec
pub fn uchar(
name: &str,
nick: &str,
blurb: &str,
minimum: u8,
maximum: u8,
default_value: u8,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: u8,
maximum: u8,
default_value: u8,
flags: ParamFlags
) -> ParamSpec
pub fn uint(
name: &str,
nick: &str,
blurb: &str,
minimum: u32,
maximum: u32,
default_value: u32,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: u32,
maximum: u32,
default_value: u32,
flags: ParamFlags
) -> ParamSpec
pub fn uint64(
name: &str,
nick: &str,
blurb: &str,
minimum: u64,
maximum: u64,
default_value: u64,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: u64,
maximum: u64,
default_value: u64,
flags: ParamFlags
) -> ParamSpec
pub fn ulong(
name: &str,
nick: &str,
blurb: &str,
minimum: c_ulong,
maximum: c_ulong,
default_value: c_ulong,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
minimum: c_ulong,
maximum: c_ulong,
default_value: c_ulong,
flags: ParamFlags
) -> ParamSpec
pub fn unichar(
name: &str,
nick: &str,
blurb: &str,
default_value: char,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
default_value: char,
flags: ParamFlags
) -> ParamSpec
pub fn value_array(
name: &str,
nick: &str,
blurb: &str,
element_spec: &ParamSpec,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
element_spec: &ParamSpec,
flags: ParamFlags
) -> ParamSpec
pub fn variant(
name: &str,
nick: &str,
blurb: &str,
type_: &VariantTy,
default_value: Option<&Variant>,
flags: ParamFlags
) -> ParamSpec
[src]
name: &str,
nick: &str,
blurb: &str,
type_: &VariantTy,
default_value: Option<&Variant>,
flags: ParamFlags
) -> ParamSpec
Trait Implementations
impl Clone for ParamSpec
[src]
impl Debug for ParamSpec
[src]
impl Eq for ParamSpec
[src]
impl Hash for ParamSpec
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ParamSpec
[src]
fn cmp(&self, other: &ParamSpec) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ParamSpec> for ParamSpec
[src]
impl PartialOrd<ParamSpec> for ParamSpec
[src]
fn partial_cmp(&self, other: &ParamSpec) -> Option<Ordering>
[src]
fn lt(&self, other: &ParamSpec) -> bool
[src]
fn le(&self, other: &ParamSpec) -> bool
[src]
fn gt(&self, other: &ParamSpec) -> bool
[src]
fn ge(&self, other: &ParamSpec) -> bool
[src]
impl Send for ParamSpec
[src]
impl StaticType for ParamSpec
[src]
fn static_type() -> Type
[src]
impl StructuralEq for ParamSpec
[src]
impl StructuralPartialEq for ParamSpec
[src]
impl Sync for ParamSpec
[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,
fn borrow_mut(&mut self) -> &mut 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<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
&'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
&'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
&'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
&'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(&[T]) -> *const GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
&'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
&'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_container_from_slice(
&'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
&'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_full_from_slice(&[T]) -> *const GPtrArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
&'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
&'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
&'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
&'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(&[T]) -> *mut GArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
&'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
&'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
&'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
&'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_full_from_slice(&[T]) -> *mut GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
&'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
&'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_container_from_slice(
&'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
&'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_full_from_slice(&[T]) -> *mut GPtrArray
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&Self) -> SendValue
[src]
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.
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>,