[][src]Struct glib::ParamSpec

pub struct 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]

pub fn boxed(
    name: &str,
    nick: &str,
    blurb: &str,
    boxed_type: Type,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn char(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: i8,
    maximum: i8,
    default_value: i8,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn double(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: f64,
    maximum: f64,
    default_value: f64,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn enum_(
    name: &str,
    nick: &str,
    blurb: &str,
    enum_type: Type,
    default_value: i32,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn flags(
    name: &str,
    nick: &str,
    blurb: &str,
    flags_type: Type,
    default_value: u32,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn float(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: f32,
    maximum: f32,
    default_value: f32,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn gtype(
    name: &str,
    nick: &str,
    blurb: &str,
    is_a_type: Type,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn int(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: i32,
    maximum: i32,
    default_value: i32,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn int64(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: i64,
    maximum: i64,
    default_value: i64,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn long(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: c_long,
    maximum: c_long,
    default_value: c_long,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn object(
    name: &str,
    nick: &str,
    blurb: &str,
    object_type: Type,
    flags: ParamFlags
) -> ParamSpec
[src]

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]

pub fn pointer(
    name: &str,
    nick: &str,
    blurb: &str,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn string(
    name: &str,
    nick: &str,
    blurb: &str,
    default_value: Option<&str>,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn uchar(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: u8,
    maximum: u8,
    default_value: u8,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn uint(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: u32,
    maximum: u32,
    default_value: u32,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn uint64(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: u64,
    maximum: u64,
    default_value: u64,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn ulong(
    name: &str,
    nick: &str,
    blurb: &str,
    minimum: c_ulong,
    maximum: c_ulong,
    default_value: c_ulong,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn unichar(
    name: &str,
    nick: &str,
    blurb: &str,
    default_value: char,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn value_array(
    name: &str,
    nick: &str,
    blurb: &str,
    element_spec: &ParamSpec,
    flags: ParamFlags
) -> ParamSpec
[src]

pub fn variant(
    name: &str,
    nick: &str,
    blurb: &str,
    type_: &VariantTy,
    default_value: Option<&Variant>,
    flags: ParamFlags
) -> ParamSpec
[src]

Trait Implementations

impl Clone for ParamSpec[src]

impl Debug for ParamSpec[src]

impl Eq for ParamSpec[src]

impl Hash for ParamSpec[src]

impl Ord for ParamSpec[src]

impl PartialEq<ParamSpec> for ParamSpec[src]

impl PartialOrd<ParamSpec> for ParamSpec[src]

impl Send for ParamSpec[src]

impl StaticType for ParamSpec[src]

impl StructuralEq for ParamSpec[src]

impl StructuralPartialEq for ParamSpec[src]

impl Sync for ParamSpec[src]

Auto Trait Implementations

impl RefUnwindSafe for ParamSpec

impl Unpin for ParamSpec

impl UnwindSafe for ParamSpec

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.