Struct hdrepresentation::Variable
source · pub struct Variable {
pub name: String,
pub var_type: Box<VariableType>,
pub kind: FileType,
}Fields
name: Stringvar_type: Box<VariableType>kind: FileTypeImplementations
sourceimpl Variable
impl Variable
pub fn new(name: &str, var_type: VariableType, kind: FileType) -> Self
pub fn is_pointer(self) -> bool
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Variable
impl<'de> Deserialize<'de> for Variable
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more