#[repr(C)]pub struct clingo_ast_argument {
pub attribute: clingo_ast_attribute_t,
pub type_: clingo_ast_attribute_type_t,
}Expand description
! Struct to define an argument that consists of a name and a type.
Fields§
§attribute: clingo_ast_attribute_t§type_: clingo_ast_attribute_type_tTrait Implementations§
Source§impl Clone for clingo_ast_argument
impl Clone for clingo_ast_argument
Source§fn clone(&self) -> clingo_ast_argument
fn clone(&self) -> clingo_ast_argument
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 clingo_ast_argument
impl Debug for clingo_ast_argument
impl Copy for clingo_ast_argument
Auto Trait Implementations§
impl Freeze for clingo_ast_argument
impl RefUnwindSafe for clingo_ast_argument
impl Send for clingo_ast_argument
impl Sync for clingo_ast_argument
impl Unpin for clingo_ast_argument
impl UnwindSafe for clingo_ast_argument
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