Struct glib::ParamSpec [−][src]
pub struct ParamSpec(_);
Implementations
pub fn new_boolean(
name: &str,
nick: &str,
blurb: &str,
default_value: bool,
flags: ParamFlags
) -> ParamSpec
pub fn new_boxed(
name: &str,
nick: &str,
blurb: &str,
boxed_type: Type,
flags: ParamFlags
) -> ParamSpec
pub fn new_char(
name: &str,
nick: &str,
blurb: &str,
minimum: i8,
maximum: i8,
default_value: i8,
flags: ParamFlags
) -> ParamSpec
pub fn new_double(
name: &str,
nick: &str,
blurb: &str,
minimum: f64,
maximum: f64,
default_value: f64,
flags: ParamFlags
) -> ParamSpec
pub fn new_enum(
name: &str,
nick: &str,
blurb: &str,
enum_type: Type,
default_value: i32,
flags: ParamFlags
) -> ParamSpec
pub fn new_flags(
name: &str,
nick: &str,
blurb: &str,
flags_type: Type,
default_value: u32,
flags: ParamFlags
) -> ParamSpec
pub fn new_float(
name: &str,
nick: &str,
blurb: &str,
minimum: f32,
maximum: f32,
default_value: f32,
flags: ParamFlags
) -> ParamSpec
pub fn new_type(
name: &str,
nick: &str,
blurb: &str,
is_a_type: Type,
flags: ParamFlags
) -> ParamSpec
pub fn new_int(
name: &str,
nick: &str,
blurb: &str,
minimum: i32,
maximum: i32,
default_value: i32,
flags: ParamFlags
) -> ParamSpec
pub fn new_int64(
name: &str,
nick: &str,
blurb: &str,
minimum: i64,
maximum: i64,
default_value: i64,
flags: ParamFlags
) -> ParamSpec
pub fn new_long(
name: &str,
nick: &str,
blurb: &str,
minimum: c_long,
maximum: c_long,
default_value: c_long,
flags: ParamFlags
) -> ParamSpec
pub fn new_object(
name: &str,
nick: &str,
blurb: &str,
object_type: Type,
flags: ParamFlags
) -> ParamSpec
pub fn new_param(
name: &str,
nick: &str,
blurb: &str,
param_type: Type,
flags: ParamFlags
) -> ParamSpec
pub fn new_string(
name: &str,
nick: &str,
blurb: &str,
default_value: Option<&str>,
flags: ParamFlags
) -> ParamSpec
pub fn new_uchar(
name: &str,
nick: &str,
blurb: &str,
minimum: u8,
maximum: u8,
default_value: u8,
flags: ParamFlags
) -> ParamSpec
pub fn new_uint(
name: &str,
nick: &str,
blurb: &str,
minimum: u32,
maximum: u32,
default_value: u32,
flags: ParamFlags
) -> ParamSpec
pub fn new_uint64(
name: &str,
nick: &str,
blurb: &str,
minimum: u64,
maximum: u64,
default_value: u64,
flags: ParamFlags
) -> ParamSpec
pub fn new_ulong(
name: &str,
nick: &str,
blurb: &str,
minimum: c_ulong,
maximum: c_ulong,
default_value: c_ulong,
flags: ParamFlags
) -> ParamSpec
pub fn new_unichar(
name: &str,
nick: &str,
blurb: &str,
default_value: char,
flags: ParamFlags
) -> ParamSpec
pub fn new_value_array(
name: &str,
nick: &str,
blurb: &str,
element_spec: &ParamSpec,
flags: ParamFlags
) -> ParamSpec
pub fn new_variant(
name: &str,
nick: &str,
blurb: &str,
type_: &VariantTy,
default_value: Option<&Variant>,
flags: ParamFlags
) -> ParamSpec
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,