pub struct OwnedParameterGroupSpec { /* private fields */ }Expand description
One neutral parameter group tagged with its architecture-owned location.
Implementations§
Source§impl OwnedParameterGroupSpec
impl OwnedParameterGroupSpec
Sourcepub fn new(owner: ParameterGroupOwner, group: ParameterGroupSpec) -> Self
pub fn new(owner: ParameterGroupOwner, group: ParameterGroupSpec) -> Self
Tags a group with one explicit owner.
Sourcepub const fn owner(&self) -> &ParameterGroupOwner
pub const fn owner(&self) -> &ParameterGroupOwner
Returns the architecture-owned location.
Sourcepub const fn group(&self) -> &ParameterGroupSpec
pub const fn group(&self) -> &ParameterGroupSpec
Returns the neutral placement group.
Sourcepub fn into_group(self) -> ParameterGroupSpec
pub fn into_group(self) -> ParameterGroupSpec
Consumes the tag and returns the neutral placement group.
Methods from Deref<Target = ParameterGroupSpec>§
Sourcepub fn logical_name(&self) -> &str
pub fn logical_name(&self) -> &str
Returns the stable logical name.
Sourcepub fn role(&self) -> ParameterRole
pub fn role(&self) -> ParameterRole
Returns the semantic role.
Sourcepub fn partition_units(&self) -> Option<usize>
pub fn partition_units(&self) -> Option<usize>
Returns the shared logical-unit count, when the group is partitioned.
Sourcepub fn members(&self) -> &[ParameterMemberSpec]
pub fn members(&self) -> &[ParameterMemberSpec]
Returns physical checkpoint members.
Trait Implementations§
Source§impl Clone for OwnedParameterGroupSpec
impl Clone for OwnedParameterGroupSpec
Source§fn clone(&self) -> OwnedParameterGroupSpec
fn clone(&self) -> OwnedParameterGroupSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OwnedParameterGroupSpec
impl Debug for OwnedParameterGroupSpec
Source§impl Deref for OwnedParameterGroupSpec
impl Deref for OwnedParameterGroupSpec
impl Eq for OwnedParameterGroupSpec
Source§impl PartialEq for OwnedParameterGroupSpec
impl PartialEq for OwnedParameterGroupSpec
impl StructuralPartialEq for OwnedParameterGroupSpec
Auto Trait Implementations§
impl Freeze for OwnedParameterGroupSpec
impl RefUnwindSafe for OwnedParameterGroupSpec
impl Send for OwnedParameterGroupSpec
impl Sync for OwnedParameterGroupSpec
impl Unpin for OwnedParameterGroupSpec
impl UnsafeUnpin for OwnedParameterGroupSpec
impl UnwindSafe for OwnedParameterGroupSpec
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