pub enum ScriptLanguage {
FormCalc,
JavaScript,
Other,
}Expand description
The scripting language used by an XFA <script> element.
Variants§
FormCalc
FormCalc is the XFA default when contentType is omitted.
JavaScript
JavaScript event handlers and calculations.
Other
Any other declared script language (for example VBScript).
Trait Implementations§
Source§impl Clone for ScriptLanguage
impl Clone for ScriptLanguage
Source§fn clone(&self) -> ScriptLanguage
fn clone(&self) -> ScriptLanguage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScriptLanguage
impl Debug for ScriptLanguage
Source§impl Default for ScriptLanguage
impl Default for ScriptLanguage
Source§fn default() -> ScriptLanguage
fn default() -> ScriptLanguage
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScriptLanguage
impl PartialEq for ScriptLanguage
Source§fn eq(&self, other: &ScriptLanguage) -> bool
fn eq(&self, other: &ScriptLanguage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScriptLanguage
impl Eq for ScriptLanguage
impl StructuralPartialEq for ScriptLanguage
Auto Trait Implementations§
impl Freeze for ScriptLanguage
impl RefUnwindSafe for ScriptLanguage
impl Send for ScriptLanguage
impl Sync for ScriptLanguage
impl Unpin for ScriptLanguage
impl UnsafeUnpin for ScriptLanguage
impl UnwindSafe for ScriptLanguage
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