#[repr(C)]pub struct _xmlSchemaElement {Show 26 fields
pub type_: xmlSchemaTypeType,
pub next: *mut _xmlSchemaType,
pub name: *const xmlChar,
pub id: *const xmlChar,
pub ref_: *const xmlChar,
pub refNs: *const xmlChar,
pub annot: *mut xmlSchemaAnnot,
pub subtypes: *mut xmlSchemaType,
pub attributes: *mut xmlSchemaAttribute,
pub node: *mut xmlNode,
pub minOccurs: c_int,
pub maxOccurs: c_int,
pub flags: c_int,
pub targetNamespace: *const xmlChar,
pub namedType: *const xmlChar,
pub namedTypeNs: *const xmlChar,
pub substGroup: *const xmlChar,
pub substGroupNs: *const xmlChar,
pub scope: *const xmlChar,
pub value: *const xmlChar,
pub refDecl: *mut _xmlSchemaElement,
pub contModel: *mut xmlRegexp,
pub contentType: xmlSchemaContentType,
pub refPrefix: *const xmlChar,
pub defVal: *mut xmlSchemaVal,
pub idcs: *mut c_void,
}Expand description
An element definition.
xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of structures must be kept similar
Fields§
§type_: xmlSchemaTypeType§next: *mut _xmlSchemaType§name: *const xmlChar§id: *const xmlChar§ref_: *const xmlChar§refNs: *const xmlChar§annot: *mut xmlSchemaAnnot§subtypes: *mut xmlSchemaType§attributes: *mut xmlSchemaAttribute§node: *mut xmlNode§minOccurs: c_int§maxOccurs: c_int§flags: c_int§targetNamespace: *const xmlChar§namedType: *const xmlChar§namedTypeNs: *const xmlChar§substGroup: *const xmlChar§substGroupNs: *const xmlChar§scope: *const xmlChar§value: *const xmlChar§refDecl: *mut _xmlSchemaElement§contModel: *mut xmlRegexp§contentType: xmlSchemaContentType§refPrefix: *const xmlChar§defVal: *mut xmlSchemaVal§idcs: *mut c_voidTrait Implementations§
Source§impl Clone for _xmlSchemaElement
impl Clone for _xmlSchemaElement
Source§fn clone(&self) -> _xmlSchemaElement
fn clone(&self) -> _xmlSchemaElement
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 moreimpl Copy for _xmlSchemaElement
Auto Trait Implementations§
impl !Send for _xmlSchemaElement
impl !Sync for _xmlSchemaElement
impl Freeze for _xmlSchemaElement
impl RefUnwindSafe for _xmlSchemaElement
impl Unpin for _xmlSchemaElement
impl UnsafeUnpin for _xmlSchemaElement
impl UnwindSafe for _xmlSchemaElement
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