#[repr(C)]pub struct ObjectCreate {
pub kuid: ObjID,
pub bt: BackingType,
pub lt: LifetimeType,
pub flags: ObjectCreateFlags,
pub def_prot: Protections,
}Expand description
Full object creation specification, minus ties.
Fields§
§kuid: ObjID§bt: BackingType§lt: LifetimeType§flags: ObjectCreateFlags§def_prot: ProtectionsImplementations§
Source§impl ObjectCreate
impl ObjectCreate
Sourcepub fn new(
bt: BackingType,
lt: LifetimeType,
kuid: Option<ObjID>,
flags: ObjectCreateFlags,
def_prot: Protections,
) -> ObjectCreate
pub fn new( bt: BackingType, lt: LifetimeType, kuid: Option<ObjID>, flags: ObjectCreateFlags, def_prot: Protections, ) -> ObjectCreate
Build a new object create specification.
Trait Implementations§
Source§impl Clone for ObjectCreate
impl Clone for ObjectCreate
Source§fn clone(&self) -> ObjectCreate
fn clone(&self) -> ObjectCreate
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 ObjectCreate
impl Debug for ObjectCreate
Source§impl Default for ObjectCreate
impl Default for ObjectCreate
Source§fn default() -> ObjectCreate
fn default() -> ObjectCreate
Returns the “default value” for a type. Read more
Source§impl From<object_create> for ObjectCreate
impl From<object_create> for ObjectCreate
Source§fn from(value: object_create) -> ObjectCreate
fn from(value: object_create) -> ObjectCreate
Converts to this type from the input type.
Source§impl Ord for ObjectCreate
impl Ord for ObjectCreate
Source§fn cmp(&self, other: &ObjectCreate) -> Ordering
fn cmp(&self, other: &ObjectCreate) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ObjectCreate
impl PartialEq for ObjectCreate
Source§impl PartialOrd for ObjectCreate
impl PartialOrd for ObjectCreate
impl Copy for ObjectCreate
impl Eq for ObjectCreate
impl StructuralPartialEq for ObjectCreate
Auto Trait Implementations§
impl Freeze for ObjectCreate
impl RefUnwindSafe for ObjectCreate
impl Send for ObjectCreate
impl StoreCopy for ObjectCreate
impl Sync for ObjectCreate
impl Unpin for ObjectCreate
impl UnwindSafe for ObjectCreate
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