pub enum DataEvent {
ActiveChanged,
DataSetChanged,
Scrolled,
RecordChanged(Option<String>),
StateChanged,
UpdateData,
}Expand description
O que mudou no dataset (enviado aos controles ligados em DataMessage).
Variants§
ActiveChanged
Abriu ou fechou.
DataSetChanged
Os dados mudaram de forma geral (carga, post, cancel, delete…).
Scrolled
O cursor mudou de registro.
RecordChanged(Option<String>)
Um campo (ou, com None, vários) do registro atual mudou.
StateChanged
Mudou o estado (Browse, Edit, Insert).
UpdateData
Antes do post: controles com texto pendente devem gravá-lo no campo.
Trait Implementations§
impl Eq for DataEvent
impl StructuralPartialEq for DataEvent
Auto Trait Implementations§
impl Forget for DataEvent
impl Freeze for DataEvent
impl RefUnwindSafe for DataEvent
impl Send for DataEvent
impl Sync for DataEvent
impl Unpin for DataEvent
impl UnsafeUnpin for DataEvent
impl UnwindSafe for DataEvent
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.