Struct gstreamer::param_spec::ParamSpecArrayBuilder
source · pub struct ParamSpecArrayBuilder<'a> {
name: &'a str,
nick: Option<&'a str>,
blurb: Option<&'a str>,
flags: ParamFlags,
element_spec: Option<&'a ParamSpec>,
}
Fields§
§name: &'a str
§nick: Option<&'a str>
§blurb: Option<&'a str>
§flags: ParamFlags
§element_spec: Option<&'a ParamSpec>
Implementations§
Trait Implementations§
source§impl<'a> Default for ParamSpecArrayBuilder<'a>
impl<'a> Default for ParamSpecArrayBuilder<'a>
source§fn default() -> ParamSpecArrayBuilder<'a>
fn default() -> ParamSpecArrayBuilder<'a>
Returns the “default value” for a type. Read more
source§impl<'a> ParamSpecBuilderExt<'a> for ParamSpecArrayBuilder<'a>
impl<'a> ParamSpecBuilderExt<'a> for ParamSpecArrayBuilder<'a>
source§fn set_flags(&mut self, flags: ParamFlags)
fn set_flags(&mut self, flags: ParamFlags)
Implementation detail.
source§fn current_flags(&self) -> ParamFlags
fn current_flags(&self) -> ParamFlags
Implementation detail.
source§fn nick(self, nick: &'a str) -> Self
fn nick(self, nick: &'a str) -> Self
By default, the nickname of its redirect target will be used if it has one.
Otherwise,
self.name
will be used.source§fn flags(self, flags: ParamFlags) -> Self
fn flags(self, flags: ParamFlags) -> Self
Default:
glib::ParamFlags::READWRITE
source§fn read_only(self) -> Self
fn read_only(self) -> Self
Mark the property as read only and drops the READWRITE flag set by default.
source§fn write_only(self) -> Self
fn write_only(self) -> Self
Mark the property as write only and drops the READWRITE flag set by default.
source§fn construct_only(self) -> Self
fn construct_only(self) -> Self
Mark the property as construct only
source§fn lax_validation(self) -> Self
fn lax_validation(self) -> Self
Mark the property as lax validation
source§fn explicit_notify(self) -> Self
fn explicit_notify(self) -> Self
Mark the property as explicit notify
source§fn deprecated(self) -> Self
fn deprecated(self) -> Self
Mark the property as deprecated
Auto Trait Implementations§
impl<'a> Freeze for ParamSpecArrayBuilder<'a>
impl<'a> RefUnwindSafe for ParamSpecArrayBuilder<'a>
impl<'a> Send for ParamSpecArrayBuilder<'a>
impl<'a> Sync for ParamSpecArrayBuilder<'a>
impl<'a> Unpin for ParamSpecArrayBuilder<'a>
impl<'a> UnwindSafe for ParamSpecArrayBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<'a, T> GstParamSpecBuilderExt<'a> for Twhere
T: ParamSpecBuilderExt<'a>,
impl<'a, T> GstParamSpecBuilderExt<'a> for Twhere
T: ParamSpecBuilderExt<'a>,
source§fn controllable(self) -> Self
fn controllable(self) -> Self
Mark the property as controllable
source§fn mutable_ready(self) -> Self
fn mutable_ready(self) -> Self
Mark the property as mutable in ready state
source§fn mutable_paused(self) -> Self
fn mutable_paused(self) -> Self
Mark the property as mutable in paused state
source§fn mutable_playing(self) -> Self
fn mutable_playing(self) -> Self
Mark the property as mutable in playing state
source§fn doc_show_default(self) -> Self
fn doc_show_default(self) -> Self
Mark the property for showing the default value in the docs
source§fn conditionally_available(self) -> Self
fn conditionally_available(self) -> Self
Mark the property for being only conditionally available
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more