[][src]Enum places::storage::bookmarks::root_guid::BookmarkRootGuid

#[repr(u8)]pub enum BookmarkRootGuid {
    Root,
    Menu,
    Toolbar,
    Unfiled,
    Mobile,
}

Special GUIDs associated with bookmark roots. It's guaranteed that the roots will always have these guids.

Variants

Root
Menu
Toolbar
Unfiled
Mobile

Implementations

impl BookmarkRootGuid[src]

pub fn as_str(self) -> &'static str[src]

pub fn guid(self) -> &'static SyncGuid[src]

pub fn as_guid(self) -> SyncGuid[src]

pub fn well_known(guid: &str) -> Option<Self>[src]

pub fn from_guid(guid: &SyncGuid) -> Option<Self>[src]

Trait Implementations

impl Clone for BookmarkRootGuid[src]

impl Copy for BookmarkRootGuid[src]

impl Debug for BookmarkRootGuid[src]

impl From<BookmarkRootGuid> for SyncGuid[src]

impl Hash for BookmarkRootGuid[src]

impl<'a> PartialEq<&'a Guid> for BookmarkRootGuid[src]

impl<'a> PartialEq<&'a str> for BookmarkRootGuid[src]

impl PartialEq<BookmarkRootGuid> for BookmarkRootGuid[src]

impl PartialEq<BookmarkRootGuid> for SyncGuid[src]

impl<'a> PartialEq<BookmarkRootGuid> for &'a SyncGuid[src]

impl<'a> PartialEq<BookmarkRootGuid> for &'a str[src]

impl PartialEq<Guid> for BookmarkRootGuid[src]

impl PartialOrd<BookmarkRootGuid> for BookmarkRootGuid[src]

impl StructuralPartialEq for BookmarkRootGuid[src]

Auto Trait Implementations

impl RefUnwindSafe for BookmarkRootGuid

impl Send for BookmarkRootGuid

impl Sync for BookmarkRootGuid

impl Unpin for BookmarkRootGuid

impl UnwindSafe for BookmarkRootGuid

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,