pub enum FormControlType {
Button,
CheckBox,
OptionButton,
SpinButton,
ScrollBar,
GroupBox,
Label,
}Expand description
Form control types.
Variants§
Implementations§
Source§impl FormControlType
impl FormControlType
Sourcepub fn object_type(&self) -> &str
pub fn object_type(&self) -> &str
Return the VML ObjectType string for x:ClientData.
Sourcepub fn from_object_type(s: &str) -> Option<FormControlType>
pub fn from_object_type(s: &str) -> Option<FormControlType>
Parse an ObjectType string back into a FormControlType.
Trait Implementations§
Source§impl Clone for FormControlType
impl Clone for FormControlType
Source§fn clone(&self) -> FormControlType
fn clone(&self) -> FormControlType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormControlType
impl Debug for FormControlType
Source§impl PartialEq for FormControlType
impl PartialEq for FormControlType
impl StructuralPartialEq for FormControlType
Auto Trait Implementations§
impl Freeze for FormControlType
impl RefUnwindSafe for FormControlType
impl Send for FormControlType
impl Sync for FormControlType
impl Unpin for FormControlType
impl UnwindSafe for FormControlType
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