Enum loro_internal::container::ContainerIdRaw
source · pub enum ContainerIdRaw {
Root {
name: DefaultAtom,
},
Normal {
id: ID,
},
}Variants§
Implementations§
source§impl ContainerIdRaw
impl ContainerIdRaw
pub fn with_type(self, container_type: ContainerType) -> ContainerID
Trait Implementations§
source§impl From<&ContainerID> for ContainerIdRaw
impl From<&ContainerID> for ContainerIdRaw
source§fn from(id: &ContainerID) -> Self
fn from(id: &ContainerID) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a str> for ContainerIdRaw
impl<'a> From<&'a str> for ContainerIdRaw
source§impl From<ContainerID> for ContainerIdRaw
impl From<ContainerID> for ContainerIdRaw
source§fn from(id: ContainerID) -> Self
fn from(id: ContainerID) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ContainerIdRaw
impl Send for ContainerIdRaw
impl Sync for ContainerIdRaw
impl Unpin for ContainerIdRaw
impl UnwindSafe for ContainerIdRaw
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