pub struct CameraPage {
    pub actions: OnceCell<SimpleActionGroup>,
    pub camera: TemplateChild<Camera>,
}

Fields§

§actions: OnceCell<SimpleActionGroup>§camera: TemplateChild<Camera>

Implementations§

source§

impl CameraPage

source

fn register_type()

Registers the type only once.

source§

impl CameraPage

source

pub fn downgrade(&self) -> <Self as Downgrade>::Weak

Trait Implementations§

source§

impl CompositeTemplate for CameraPage

source§

fn bind_template(klass: &mut Self::Class)

source§

fn check_template_children(widget: &<Self as ObjectSubclass>::Type)

source§

impl Default for CameraPage

source§

fn default() -> CameraPage

Returns the “default value” for a type. Read more
source§

impl DerivedObjectProperties for CameraPage

source§

fn derived_properties() -> &'static [ParamSpec]

Properties installed for this type.
source§

fn derived_property(&self, id: usize, pspec: &ParamSpec) -> Value

Similar to ObjectImpl but auto-generated by the [Properties] macro to allow handling more complex use-cases.
source§

fn derived_set_property(&self, id: usize, value: &Value, pspec: &ParamSpec)

Similar to ObjectImpl but auto-generated by the [Properties] macro to allow handling more complex use-cases.
source§

impl NavigationPageImpl for CameraPage

§

fn hidden(&self)

§

fn hiding(&self)

§

fn showing(&self)

§

fn shown(&self)

source§

impl ObjectImpl for CameraPage

source§

fn properties() -> &'static [ParamSpec]

Properties installed for this type.
source§

fn set_property(&self, id: usize, value: &Value, pspec: &ParamSpec)

Property setter. Read more
source§

fn property(&self, id: usize, pspec: &ParamSpec) -> Value

Property getter. Read more
§

fn signals() -> &'static [Signal]

Signals installed for this type.
§

fn constructed(&self)

Constructed. Read more
§

fn dispose(&self)

Disposes of the object. Read more
§

fn notify(&self, pspec: &ParamSpec)

Function to be called when property change is notified for with self.notify("property").
§

fn dispatch_properties_changed(&self, pspecs: &[ParamSpec])

source§

impl ObjectSubclass for CameraPage

§

type Interfaces = ()

List of interfaces implemented by this type.
§

type Class = ClassStruct<CameraPage>

The C class struct. Read more
§

type Instance = InstanceStruct<CameraPage>

The C instance struct. Read more
source§

fn new() -> Self

Constructor. Read more
source§

const NAME: &'static str = "CameraPage"

GObject type name. Read more
§

type Type = CameraPage

Wrapper around this subclass defined with wrapper!
§

type ParentType = NavigationPage

Parent Rust type to inherit from.
source§

fn class_init(klass: &mut Self::Class)

Class initialization. Read more
source§

fn instance_init(obj: &InitializingObject<Self>)

Performs additional instance initialization. Read more
§

const ABSTRACT: bool = false

If this subclass is an abstract class or not. Read more
§

fn type_init(_type_: &mut InitializingType<Self>)

Additional type initialization. Read more
§

fn with_class(_klass: &Self::Class) -> Self

Constructor. Read more
source§

impl ObjectSubclassType for CameraPage

source§

fn type_data() -> NonNull<TypeData>

Storage for the type-specific data used during registration.
source§

fn type_() -> Type

Returns the glib::Type ID of the subclass. Read more
source§

impl WidgetImpl for CameraPage

§

fn compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool)

§

fn contains(&self, x: f64, y: f64) -> bool

§

fn direction_changed(&self, previous_direction: TextDirection)

§

fn focus(&self, direction_type: DirectionType) -> bool

§

fn request_mode(&self) -> SizeRequestMode

§

fn grab_focus(&self) -> bool

§

fn hide(&self)

👎Deprecated: Since 4.10
§

fn keynav_failed(&self, direction_type: DirectionType) -> bool

§

fn map(&self)

§

fn measure( &self, orientation: Orientation, for_size: i32 ) -> (i32, i32, i32, i32)

§

fn mnemonic_activate(&self, group_cycling: bool) -> bool

§

fn move_focus(&self, direction_type: DirectionType)

§

fn query_tooltip( &self, x: i32, y: i32, keyboard_tooltip: bool, tooltip: &Tooltip ) -> bool

§

fn realize(&self)

§

fn root(&self)

§

fn set_focus_child(&self, child: Option<&Widget>)

§

fn show(&self)

👎Deprecated: Since 4.10
§

fn size_allocate(&self, width: i32, height: i32, baseline: i32)

§

fn snapshot(&self, snapshot: &Snapshot)

§

fn state_flags_changed(&self, state_flags: &StateFlags)

§

fn system_setting_changed(&self, settings: &SystemSetting)

§

fn unmap(&self)

§

fn unrealize(&self)

§

fn unroot(&self)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CompositeTemplateDisposeExt for T
where T: WidgetImpl + CompositeTemplate, <T as ObjectSubclass>::Type: IsA<Widget>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IntoSql for T

§

fn into_sql<T>(self) -> Self::Expression
where Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,

Convert self to an expression for Diesel’s query builder. Read more
§

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
where &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,

Convert &self to an expression for Diesel’s query builder. Read more
§

impl<T> NavigationPageImplExt for T
where T: NavigationPageImpl,

§

fn parent_hidden(&self)

§

fn parent_hiding(&self)

§

fn parent_showing(&self)

§

fn parent_shown(&self)

§

impl<T> NoneValue for T
where T: Default,

§

type NoneType = T

§

fn null_value() -> T

The none-equivalent value.
§

impl<T> ObjectImplExt for T
where T: ObjectImpl,

§

fn parent_constructed(&self)

Chain up to the parent class’ implementation of glib::Object::constructed().
§

fn parent_notify(&self, pspec: &ParamSpec)

Chain up to the parent class’ implementation of glib::Object::notify().
§

fn parent_dispatch_properties_changed(&self, pspecs: &[ParamSpec])

Chain up to the parent class’ implementation of glib::Object::dispatch_properties_changed().
§

fn signal_chain_from_overridden( &self, token: &SignalClassHandlerToken, values: &[Value] ) -> Option<Value>

Chain up to parent class signal handler.
§

impl<T> ObjectSubclassExt for T
where T: ObjectSubclass,

§

fn instance(&self) -> BorrowedObject<'_, <T as ObjectSubclass>::Type>

👎Deprecated: Use obj() instead
Returns the corresponding object instance.
§

fn from_instance(obj: &<T as ObjectSubclass>::Type) -> &T

👎Deprecated: Use from_obj() instead
Returns the implementation from an instance.
§

fn obj(&self) -> BorrowedObject<'_, <T as ObjectSubclass>::Type>

Returns the corresponding object instance. Read more
§

fn from_obj(obj: &<T as ObjectSubclass>::Type) -> &T

Returns the implementation from an instance. Read more
§

fn ref_counted(&self) -> ObjectImplRef<T>

Returns a new reference-counted wrapper around self.
§

fn instance_data<U>(&self, type_: Type) -> Option<&U>
where U: Any + Send + Sync + 'static,

Returns a pointer to the instance implementation specific data. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WidgetImplExt for T
where T: WidgetImpl,

§

fn parent_compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool)

§

fn parent_contains(&self, x: f64, y: f64) -> bool

§

fn parent_direction_changed(&self, previous_direction: TextDirection)

§

fn parent_focus(&self, direction_type: DirectionType) -> bool

§

fn parent_request_mode(&self) -> SizeRequestMode

§

fn parent_grab_focus(&self) -> bool

§

fn parent_hide(&self)

👎Deprecated: Since 4.10
§

fn parent_keynav_failed(&self, direction_type: DirectionType) -> bool

§

fn parent_map(&self)

§

fn parent_measure( &self, orientation: Orientation, for_size: i32 ) -> (i32, i32, i32, i32)

§

fn parent_mnemonic_activate(&self, group_cycling: bool) -> bool

§

fn parent_move_focus(&self, direction_type: DirectionType)

§

fn parent_query_tooltip( &self, x: i32, y: i32, keyboard_tooltip: bool, tooltip: &Tooltip ) -> bool

§

fn parent_realize(&self)

§

fn parent_root(&self)

§

fn parent_set_focus_child(&self, child: Option<&Widget>)

§

fn parent_show(&self)

👎Deprecated: Since 4.10
§

fn parent_size_allocate(&self, width: i32, height: i32, baseline: i32)

§

fn parent_snapshot(&self, snapshot: &Snapshot)

§

fn parent_state_flags_changed(&self, state_flags: &StateFlags)

§

fn parent_system_setting_changed(&self, settings: &SystemSetting)

§

fn parent_unmap(&self)

§

fn parent_unrealize(&self)

§

fn parent_unroot(&self)

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more