[−][src]Struct qt_widgets::q_data_widget_mapper::SubmitPolicy
This enum describes the possible submit policies a QDataWidgetMapper supports.
C++ enum: QDataWidgetMapper::SubmitPolicy
.
This enum describes the possible submit policies a QDataWidgetMapper supports.
Methods
impl SubmitPolicy
[src]
impl SubmitPolicy
[src]
pub const AutoSubmit: SubmitPolicy
[src]
Whenever a widget loses focus, the widget's current value is set to the item model. (C++ enum variant: AutoSubmit = 0
)
pub const ManualSubmit: SubmitPolicy
[src]
The model is not updated until submit() is called. (C++ enum variant: ManualSubmit = 1
)
Trait Implementations
impl Eq for SubmitPolicy
[src]
impl Clone for SubmitPolicy
[src]
fn clone(&self) -> SubmitPolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<SubmitPolicy> for SubmitPolicy
[src]
fn eq(&self, other: &SubmitPolicy) -> bool
[src]
fn ne(&self, other: &SubmitPolicy) -> bool
[src]
impl From<i32> for SubmitPolicy
[src]
impl From<SubmitPolicy> for c_int
[src]
fn from(value: SubmitPolicy) -> Self
[src]
impl Copy for SubmitPolicy
[src]
impl Debug for SubmitPolicy
[src]
Auto Trait Implementations
impl Send for SubmitPolicy
impl Unpin for SubmitPolicy
impl Sync for SubmitPolicy
impl UnwindSafe for SubmitPolicy
impl RefUnwindSafe for SubmitPolicy
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,