pub struct XRecordEntry {
pub code: i32,
pub value: XRecordValue,
}Expand description
XRecord entry with group code and value
Fields§
§code: i32DXF group code (1-369, except 5 and 105)
value: XRecordValueThe stored value
Implementations§
Source§impl XRecordEntry
impl XRecordEntry
Sourcepub fn new(code: i32, value: XRecordValue) -> Self
pub fn new(code: i32, value: XRecordValue) -> Self
Create a new entry
Sourcepub fn value_type(&self) -> XRecordValueType
pub fn value_type(&self) -> XRecordValueType
Get the value type for this entry
Sourcepub fn has_linked_object(&self) -> bool
pub fn has_linked_object(&self) -> bool
Check if this entry contains a linked object reference
Trait Implementations§
Source§impl Clone for XRecordEntry
impl Clone for XRecordEntry
Source§fn clone(&self) -> XRecordEntry
fn clone(&self) -> XRecordEntry
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 XRecordEntry
impl Debug for XRecordEntry
Source§impl PartialEq for XRecordEntry
impl PartialEq for XRecordEntry
impl StructuralPartialEq for XRecordEntry
Auto Trait Implementations§
impl Freeze for XRecordEntry
impl RefUnwindSafe for XRecordEntry
impl Send for XRecordEntry
impl Sync for XRecordEntry
impl Unpin for XRecordEntry
impl UnsafeUnpin for XRecordEntry
impl UnwindSafe for XRecordEntry
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