pub struct LazyDictionary { /* private fields */ }Expand description
지연 로딩 사전
첫 번째 접근 시에만 사전을 로드합니다.
Implementations§
Source§impl LazyDictionary
impl LazyDictionary
Sourcepub fn new<P>(path: P) -> LazyDictionary
pub fn new<P>(path: P) -> LazyDictionary
새 지연 로딩 사전 생성
Sourcepub fn new_with_config<P>(path: P, config: LoaderConfig) -> LazyDictionary
pub fn new_with_config<P>(path: P, config: LoaderConfig) -> LazyDictionary
설정과 함께 생성
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for LazyDictionary
impl RefUnwindSafe for LazyDictionary
impl Send for LazyDictionary
impl Sync for LazyDictionary
impl Unpin for LazyDictionary
impl UnsafeUnpin for LazyDictionary
impl UnwindSafe for LazyDictionary
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more