pub struct ConstEntry {
pub name: String,
pub type_name: String,
pub value: String,
}Expand description
<const name="X" type="long" value="42"/>.
Fields§
§name: StringKonstanten-Name.
type_name: StringType (Primitive-String wie “long”, “string”, etc.).
value: StringRoher Wert als String.
Trait Implementations§
Source§impl Clone for ConstEntry
impl Clone for ConstEntry
Source§fn clone(&self) -> ConstEntry
fn clone(&self) -> ConstEntry
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 ConstEntry
impl Debug for ConstEntry
Source§impl Default for ConstEntry
impl Default for ConstEntry
Source§fn default() -> ConstEntry
fn default() -> ConstEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for ConstEntry
impl PartialEq for ConstEntry
Source§fn eq(&self, other: &ConstEntry) -> bool
fn eq(&self, other: &ConstEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConstEntry
impl StructuralPartialEq for ConstEntry
Auto Trait Implementations§
impl Freeze for ConstEntry
impl RefUnwindSafe for ConstEntry
impl Send for ConstEntry
impl Sync for ConstEntry
impl Unpin for ConstEntry
impl UnsafeUnpin for ConstEntry
impl UnwindSafe for ConstEntry
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