pub struct ParamSpec(_);Implementations
sourceimpl ParamSpec
impl ParamSpec
pub fn get_value_type(&self) -> Type
pub fn get_owner_type(&self) -> Type
pub fn get_flags(&self) -> ParamFlags
pub fn get_blurb(&self) -> String
pub fn get_default_value(&self) -> Option<Value>
pub fn get_name(&self) -> String
pub fn get_nick(&self) -> String
pub fn get_redirect_target(&self) -> Option<ParamSpec>
pub fn boolean(
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
pub fn char(
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
pub fn enum_(
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
pub fn float(
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
pub fn int(
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
pub fn long(
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
pub fn override_(name: &str, overridden: &ParamSpec) -> ParamSpec
pub fn param(
name: &str,
nick: &str,
blurb: &str,
param_type: Type,
flags: ParamFlags
) -> ParamSpec
pub fn pointer(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
pub fn uchar(
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
pub fn uint64(
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
pub fn unichar(
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
pub fn variant(
name: &str,
nick: &str,
blurb: &str,
type_: &VariantTy,
default_value: Option<&Variant>,
flags: ParamFlags
) -> ParamSpec
Trait Implementations
sourceimpl Ord for ParamSpec
impl Ord for ParamSpec
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<ParamSpec> for ParamSpec
impl PartialOrd<ParamSpec> for ParamSpec
sourcefn partial_cmp(&self, other: &ParamSpec) -> Option<Ordering>
fn partial_cmp(&self, other: &ParamSpec) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl StaticType for ParamSpec
impl StaticType for ParamSpec
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.impl Eq for ParamSpec
impl Send for ParamSpec
impl StructuralEq for ParamSpec
impl StructuralPartialEq for ParamSpec
impl Sync for ParamSpec
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue clone of self.