pub struct DCStruct {
pub identifier: String,
pub id: DClassId,
pub fields: Vec<DCField>,
pub has_range: bool,
}Fields§
§identifier: String§id: DClassId§fields: Vec<DCField>§has_range: boolWhether this struct has any fields that have a constraint. (e.g. ranges)
Trait Implementations§
Source§impl LegacyDCHash for DCStruct
impl LegacyDCHash for DCStruct
Source§fn generate_hash(&self, hashgen: &mut DCHashGenerator)
fn generate_hash(&self, hashgen: &mut DCHashGenerator)
Accumulates the properties of this DC element into the file hash.
Auto Trait Implementations§
impl Freeze for DCStruct
impl RefUnwindSafe for DCStruct
impl Send for DCStruct
impl Sync for DCStruct
impl Unpin for DCStruct
impl UnwindSafe for DCStruct
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