Struct qt_core::q_settings::Scope
source · 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§
source§impl PartialEq for Scope
impl PartialEq for Scope
impl Copy for Scope
impl Eq for Scope
impl StructuralEq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
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