pub struct PalindromicTree { /* private fields */ }
Expand description
回文木
Implementations§
Source§impl PalindromicTree
impl PalindromicTree
Sourcepub fn node_from_strpos(&self, pos: usize) -> Option<&Node>
pub fn node_from_strpos(&self, pos: usize) -> Option<&Node>
元の文字列の長さpos+1
の接頭辞の最大回文接尾辞に対応するノードへの参照を返す。
Auto Trait Implementations§
impl Freeze for PalindromicTree
impl RefUnwindSafe for PalindromicTree
impl !Send for PalindromicTree
impl !Sync for PalindromicTree
impl Unpin for PalindromicTree
impl UnwindSafe for PalindromicTree
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