Struct libgir::analysis::properties::Property
source · pub struct Property {Show 13 fields
pub name: String,
pub var_name: String,
pub typ: TypeId,
pub is_get: bool,
pub func_name: String,
pub func_name_alias: Option<String>,
pub nullable: Nullable,
pub get_out_ref_mode: RefMode,
pub set_in_ref_mode: RefMode,
pub bounds: Bounds,
pub set_bound: Option<PropertyBound>,
pub version: Option<Version>,
pub deprecated_version: Option<Version>,
}
Fields§
§name: String
§var_name: String
§typ: TypeId
§is_get: bool
§func_name: String
§func_name_alias: Option<String>
§nullable: Nullable
§get_out_ref_mode: RefMode
§set_in_ref_mode: RefMode
§bounds: Bounds
§set_bound: Option<PropertyBound>
§version: Option<Version>
§deprecated_version: Option<Version>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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