Struct gds::GdsProperty
source · pub struct GdsProperty {
pub attr: i16,
pub value: ArcStr,
}
Expand description
A GDS property specification.
Spec BNF:
PROPATTR PROPVALUE
Fields§
§attr: i16
Attribute Number
value: ArcStr
Attribute Value
Trait Implementations§
source§impl Clone for GdsProperty
impl Clone for GdsProperty
source§fn clone(&self) -> GdsProperty
fn clone(&self) -> GdsProperty
Returns a copy 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 GdsProperty
impl Debug for GdsProperty
source§impl Default for GdsProperty
impl Default for GdsProperty
source§fn default() -> GdsProperty
fn default() -> GdsProperty
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GdsProperty
impl<'de> Deserialize<'de> for GdsProperty
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GdsProperty
impl PartialEq for GdsProperty
source§fn eq(&self, other: &GdsProperty) -> bool
fn eq(&self, other: &GdsProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GdsProperty
impl Serialize for GdsProperty
impl StructuralPartialEq for GdsProperty
Auto Trait Implementations§
impl RefUnwindSafe for GdsProperty
impl Send for GdsProperty
impl Sync for GdsProperty
impl Unpin for GdsProperty
impl UnwindSafe for GdsProperty
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