pub struct Scope(/* private fields */);
Expand description
This enum specifies whether settings are user-specific or shared by all users of the same system.
C++ enum: QSettings::Scope
.
This enum specifies whether settings are user-specific or shared by all users of the same system.
See also setPath().
Implementations§
Source§impl Scope
impl Scope
Sourcepub const UserScope: Scope
pub const UserScope: Scope
Store settings in a location specific to the current user (e.g., in the user’s home directory). (C++ enum variant: UserScope = 0
)
Sourcepub const SystemScope: Scope
pub const SystemScope: Scope
Store settings in a global location, so that all users on the same machine access the same set of settings. (C++ enum variant: SystemScope = 1
)
Trait Implementations§
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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