Struct glib::ParamSpec [−][src]
pub struct ParamSpec(_);
Methods
impl ParamSpec
[src]
impl ParamSpec
pub fn get_value_type(&self) -> Type
[src]
pub fn get_value_type(&self) -> Type
pub fn get_owner_type(&self) -> Type
[src]
pub fn get_owner_type(&self) -> Type
pub fn get_flags(&self) -> ParamFlags
[src]
pub fn get_flags(&self) -> ParamFlags
pub fn get_blurb(&self) -> String
[src]
pub fn get_blurb(&self) -> String
pub fn get_name(&self) -> String
[src]
pub fn get_name(&self) -> String
pub fn get_nick(&self) -> String
[src]
pub fn get_nick(&self) -> String
pub fn get_redirect_target(&self) -> Option<ParamSpec>
[src]
pub fn get_redirect_target(&self) -> Option<ParamSpec>
pub fn boolean(
name: &str,
nick: &str,
blurb: &str,
default_value: bool,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn boolean(
name: &str,
nick: &str,
blurb: &str,
default_value: bool,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn boxed(
name: &str,
nick: &str,
blurb: &str,
boxed_type: Type,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn boxed(
name: &str,
nick: &str,
blurb: &str,
boxed_type: Type,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn char(
name: &str,
nick: &str,
blurb: &str,
minimum: i8,
maximum: i8,
default_value: i8,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn char(
name: &str,
nick: &str,
blurb: &str,
minimum: i8,
maximum: i8,
default_value: i8,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn double(
name: &str,
nick: &str,
blurb: &str,
minimum: f64,
maximum: f64,
default_value: f64,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn double(
name: &str,
nick: &str,
blurb: &str,
minimum: f64,
maximum: f64,
default_value: f64,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn enum_(
name: &str,
nick: &str,
blurb: &str,
enum_type: Type,
default_value: i32,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn enum_(
name: &str,
nick: &str,
blurb: &str,
enum_type: Type,
default_value: i32,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn flags(
name: &str,
nick: &str,
blurb: &str,
flags_type: Type,
default_value: u32,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn flags(
name: &str,
nick: &str,
blurb: &str,
flags_type: Type,
default_value: u32,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn float(
name: &str,
nick: &str,
blurb: &str,
minimum: f32,
maximum: f32,
default_value: f32,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn float(
name: &str,
nick: &str,
blurb: &str,
minimum: f32,
maximum: f32,
default_value: f32,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn gtype(
name: &str,
nick: &str,
blurb: &str,
is_a_type: Type,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn gtype(
name: &str,
nick: &str,
blurb: &str,
is_a_type: Type,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn int(
name: &str,
nick: &str,
blurb: &str,
minimum: i32,
maximum: i32,
default_value: i32,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn int(
name: &str,
nick: &str,
blurb: &str,
minimum: i32,
maximum: i32,
default_value: i32,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn int64(
name: &str,
nick: &str,
blurb: &str,
minimum: i64,
maximum: i64,
default_value: i64,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn int64(
name: &str,
nick: &str,
blurb: &str,
minimum: i64,
maximum: i64,
default_value: i64,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn long(
name: &str,
nick: &str,
blurb: &str,
minimum: c_long,
maximum: c_long,
default_value: c_long,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn long(
name: &str,
nick: &str,
blurb: &str,
minimum: c_long,
maximum: c_long,
default_value: c_long,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn object(
name: &str,
nick: &str,
blurb: &str,
object_type: Type,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn object(
name: &str,
nick: &str,
blurb: &str,
object_type: Type,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn override_(name: &str, overridden: &ParamSpec) -> Option<ParamSpec>
[src]
pub fn override_(name: &str, overridden: &ParamSpec) -> Option<ParamSpec>
pub fn param(
name: &str,
nick: &str,
blurb: &str,
param_type: Type,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn param(
name: &str,
nick: &str,
blurb: &str,
param_type: Type,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn pointer(
name: &str,
nick: &str,
blurb: &str,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn pointer(
name: &str,
nick: &str,
blurb: &str,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn string<'a, P: Into<Option<&'a str>>>(
name: &str,
nick: &str,
blurb: &str,
default_value: P,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn string<'a, P: Into<Option<&'a str>>>(
name: &str,
nick: &str,
blurb: &str,
default_value: P,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn uchar(
name: &str,
nick: &str,
blurb: &str,
minimum: u8,
maximum: u8,
default_value: u8,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn uchar(
name: &str,
nick: &str,
blurb: &str,
minimum: u8,
maximum: u8,
default_value: u8,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn uint(
name: &str,
nick: &str,
blurb: &str,
minimum: u32,
maximum: u32,
default_value: u32,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn uint(
name: &str,
nick: &str,
blurb: &str,
minimum: u32,
maximum: u32,
default_value: u32,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn uint64(
name: &str,
nick: &str,
blurb: &str,
minimum: u64,
maximum: u64,
default_value: u64,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn uint64(
name: &str,
nick: &str,
blurb: &str,
minimum: u64,
maximum: u64,
default_value: u64,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn ulong(
name: &str,
nick: &str,
blurb: &str,
minimum: c_ulong,
maximum: c_ulong,
default_value: c_ulong,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn ulong(
name: &str,
nick: &str,
blurb: &str,
minimum: c_ulong,
maximum: c_ulong,
default_value: c_ulong,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn unichar(
name: &str,
nick: &str,
blurb: &str,
default_value: char,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn unichar(
name: &str,
nick: &str,
blurb: &str,
default_value: char,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn value_array(
name: &str,
nick: &str,
blurb: &str,
element_spec: &ParamSpec,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn value_array(
name: &str,
nick: &str,
blurb: &str,
element_spec: &ParamSpec,
flags: ParamFlags
) -> Option<ParamSpec>
pub fn variant<'a, P: Into<Option<&'a Variant>>>(
name: &str,
nick: &str,
blurb: &str,
type_: &VariantTy,
default_value: P,
flags: ParamFlags
) -> Option<ParamSpec>
[src]
pub fn variant<'a, P: Into<Option<&'a Variant>>>(
name: &str,
nick: &str,
blurb: &str,
type_: &VariantTy,
default_value: P,
flags: ParamFlags
) -> Option<ParamSpec>
Trait Implementations
impl Debug for ParamSpec
[src]
impl Debug for ParamSpec
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ParamSpec
[src]
impl PartialEq for ParamSpec
fn eq(&self, other: &ParamSpec) -> bool
[src]
fn eq(&self, other: &ParamSpec) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParamSpec) -> bool
[src]
fn ne(&self, other: &ParamSpec) -> bool
This method tests for !=
.
impl Eq for ParamSpec
[src]
impl Eq for ParamSpec
impl PartialOrd for ParamSpec
[src]
impl PartialOrd for ParamSpec
fn partial_cmp(&self, other: &ParamSpec) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ParamSpec) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &ParamSpec) -> bool
[src]
fn lt(&self, other: &ParamSpec) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &ParamSpec) -> bool
[src]
fn le(&self, other: &ParamSpec) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &ParamSpec) -> bool
[src]
fn gt(&self, other: &ParamSpec) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &ParamSpec) -> bool
[src]
fn ge(&self, other: &ParamSpec) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for ParamSpec
[src]
impl Ord for ParamSpec
fn cmp(&self, other: &ParamSpec) -> Ordering
[src]
fn cmp(&self, other: &ParamSpec) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Hash for ParamSpec
[src]
impl Hash for ParamSpec
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for ParamSpec
[src]
impl Clone for ParamSpec
fn clone(&self) -> ParamSpec
[src]
fn clone(&self) -> ParamSpec
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl StaticType for ParamSpec
[src]
impl StaticType for ParamSpec
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl Send for ParamSpec
[src]
impl Send for ParamSpec
impl Sync for ParamSpec
[src]
impl Sync for ParamSpec